ricochet-go/rpc/core.proto

23 lines
524 B
Protocol Buffer
Raw Normal View History

2016-08-02 02:58:10 +00:00
syntax = "proto3";
package ricochet;
import "network.proto";
service RicochetCore {
rpc GetServerStatus (ServerStatusRequest) returns (ServerStatusReply);
rpc MonitorNetwork (MonitorNetworkRequest) returns (stream NetworkStatus);
rpc StartNetwork (StartNetworkRequest) returns (NetworkStatus);
rpc StopNetwork (StopNetworkRequest) returns (NetworkStatus);
}
message ServerStatusRequest {
int32 rpcVersion = 1;
}
message ServerStatusReply {
int32 rpcVersion = 1;
string serverVersion = 2;
}