micro/proxy/proto/proxy.proto

19 lines
330 B
Protocol Buffer
Raw Normal View History

2019-06-03 20:44:43 +03:00
syntax = "proto3";
package proxy;
service Service {
rpc Call(Request) returns (Response) {};
rpc Stream(stream Request) returns (stream Response) {};
rpc Publish(Message) returns (Empty) {};
rpc Subscribe(Message) returns (stream Message) {};
}
message Request {}
message Response {}
message Message {}
message Empty {}