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

Unified Diff: server/discovery/service.proto

Issue 1571393006: server/discovery: add discovery service (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@prpc-server
Patch Set: rebased Created 4 years, 11 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 | « server/discovery/pb.discovery.go ('k') | server/discovery/service.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/discovery/service.proto
diff --git a/server/discovery/service.proto b/server/discovery/service.proto
new file mode 100644
index 0000000000000000000000000000000000000000..841e106076b434702846ae6b143ce4c7bbc05c4f
--- /dev/null
+++ b/server/discovery/service.proto
@@ -0,0 +1,27 @@
+// 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.
+
+syntax = "proto3";
+
+package discovery;
+
+// Describes services.
+service Discovery {
+ // Returns a list of services and a
+ // descriptor.FileDescriptorSet that covers them all.
+ rpc Describe (Void) returns (DescribeResponse) {}
+}
+
+// Void is an empty message.
+message Void {}
+
+// DescribeResponse describes services.
+message DescribeResponse {
+ // FileDescriptionSet is a binary-encoded FileDescriptorSet message.
+ // Contains descriptions of all services, their types and all transitive
+ // dependencies.
+ bytes fileDescriptionSet = 1;
+ // Services are service names provided by a server.
+ repeated string services = 2;
+}
« no previous file with comments | « server/discovery/pb.discovery.go ('k') | server/discovery/service.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698