19 lines
330 B
Protocol Buffer
19 lines
330 B
Protocol Buffer
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 {}
|