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

Unified Diff: appengine/logdog/coordinator/endpoints/projectBoundMessage.go

Issue 1910923002: LogDog: Add project namespace to service endpoint. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-coordinator-backend
Patch Set: Comments. Created 4 years, 8 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
Index: appengine/logdog/coordinator/endpoints/projectBoundMessage.go
diff --git a/appengine/logdog/coordinator/endpoints/projectBoundMessage.go b/appengine/logdog/coordinator/endpoints/projectBoundMessage.go
new file mode 100644
index 0000000000000000000000000000000000000000..53d2bbb28010ae441c2de9e45e24872b5f834dcb
--- /dev/null
+++ b/appengine/logdog/coordinator/endpoints/projectBoundMessage.go
@@ -0,0 +1,14 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package endpoints
+
+// ProjectBoundMessage describes an object that is bound to a Project
+// namespace.
+//
+// This is intended to be implemented by project-bound protobufs.
+type ProjectBoundMessage interface {
+ // GetMessageProject returns the Project to which this message is bound.
+ GetMessageProject() string
+}

Powered by Google App Engine
This is Rietveld 408576698