mirror of
https://github.com/p4gefau1t/trojan-go.git
synced 2024-04-21 12:21:34 +00:00
15 lines
261 B
Protocol Buffer
15 lines
261 B
Protocol Buffer
syntax = "proto3";
|
|
package api;
|
|
|
|
service TrojanService {
|
|
rpc QueryStats(StatsRequest) returns(StatsReply){}
|
|
}
|
|
|
|
message StatsRequest{
|
|
string password = 1; //reserved for server api
|
|
}
|
|
|
|
message StatsReply {
|
|
uint64 upload = 1;
|
|
uint64 download = 2;
|
|
} |