Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2947)

Unified Diff: appengine/logdog/coordinator/logPrefix.go

Issue 1972753002: LogDog: Implement prefix expiration. (Closed) Base URL: https://github.com/luci/luci-go@logdog-butler-register-coordinator-impl
Patch Set: Updated patchset dependency Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/logdog/coordinator/endpoints/services/registerStream_test.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/logdog/coordinator/logPrefix.go
diff --git a/appengine/logdog/coordinator/logPrefix.go b/appengine/logdog/coordinator/logPrefix.go
index 4618688acb6608e47d5c263dbdc2eff698fed807..cf2d5c5fcbe53de74897d09b9f35db702c637d2f 100644
--- a/appengine/logdog/coordinator/logPrefix.go
+++ b/appengine/logdog/coordinator/logPrefix.go
@@ -44,6 +44,10 @@ type LogPrefix struct {
// Source is the (indexed) set of source strings sent by the prefix registrar.
Source []string
+ // Expiration is the time when this log prefix expires. Stream registrations
+ // for this prefix will fail after this point.
+ Expiration time.Time
+
// Secret is the Butler secret value for this prefix. All streams within
// the prefix share this secret value.
//
« no previous file with comments | « appengine/logdog/coordinator/endpoints/services/registerStream_test.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698