23 lines
384 B
Protocol Buffer
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 {}
|