micro/server/proto/server.proto
2019-09-22 15:31:07 +01:00

23 lines
384 B
Protocol Buffer

syntax = "proto3";
package go.micro.server;
service Server {
rpc Handle(HandleRequest) returns (HandleResponse) {};
rpc Subscribe(SubscribeRequest) returns (SubscribeResponse) {};
}
message HandleRequest {
string service = 1;
string endpoint = 2;
string protocol = 3;
}
message HandleResponse {}
message SubscribeRequest {
string topic = 1;
}
message SubscribeResponse {}