23 lines
524 B
Protocol Buffer
23 lines
524 B
Protocol Buffer
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;
|
|
}
|
|
|