micro/proxy/proto/proxy.proto

19 lines
330 B
Protocol Buffer
Raw Normal View History

2019-06-03 18:44:43 +01: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 {}