mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
611 B
30 lines
611 B
7 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package v2ray.core.app.stats.command;
|
||
|
option csharp_namespace = "V2Ray.Core.App.Stats.Command";
|
||
|
option go_package = "command";
|
||
|
option java_package = "com.v2ray.core.app.stats.command";
|
||
|
option java_multiple_files = true;
|
||
|
|
||
|
message GetStatsRequest {
|
||
|
// Name of the stat counter.
|
||
|
string name = 1;
|
||
|
// Whether or not to reset the counter to fetching its value.
|
||
|
bool reset = 2;
|
||
|
}
|
||
|
|
||
|
message Stat {
|
||
|
string name = 1;
|
||
|
int64 value = 2;
|
||
|
}
|
||
|
|
||
|
message GetStatsResponse {
|
||
|
Stat stat = 1;
|
||
|
}
|
||
|
|
||
|
service StatsService {
|
||
|
rpc GetStats(GetStatsRequest) returns (GetStatsResponse) {}
|
||
|
}
|
||
|
|
||
|
message Config {}
|