mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-18 08:26:38 +02:00
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 {}
|