mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-29 21:47:44 +02:00
Remove fmt
This commit is contained in:
22
server/proto/server.proto
Normal file
22
server/proto/server.proto
Normal file
@@ -0,0 +1,22 @@
|
||||
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 {}
|
||||
Reference in New Issue
Block a user