2018-02-14 11:35:09 -05:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package v2ray.core.app.log.command;
|
|
|
|
option csharp_namespace = "V2Ray.Core.App.Log.Command";
|
2022-01-02 10:16:23 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v5/app/log/command";
|
2018-02-14 11:35:09 -05:00
|
|
|
option java_package = "com.v2ray.core.app.log.command";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
2020-10-04 20:36:40 -04:00
|
|
|
message Config {}
|
2018-02-14 11:35:09 -05:00
|
|
|
|
|
|
|
message RestartLoggerRequest {}
|
|
|
|
|
2020-10-04 20:36:40 -04:00
|
|
|
message RestartLoggerResponse {}
|
2018-02-14 11:35:09 -05:00
|
|
|
|
2021-02-21 10:02:42 -05:00
|
|
|
message FollowLogRequest {}
|
|
|
|
|
|
|
|
message FollowLogResponse {
|
|
|
|
string message = 1;
|
|
|
|
}
|
|
|
|
|
2018-02-14 11:35:09 -05:00
|
|
|
service LoggerService {
|
|
|
|
rpc RestartLogger(RestartLoggerRequest) returns (RestartLoggerResponse) {}
|
2021-06-18 19:30:50 -04:00
|
|
|
|
|
|
|
//Unstable interface
|
2021-02-21 10:02:42 -05:00
|
|
|
rpc FollowLog(FollowLogRequest) returns (stream FollowLogResponse) {};
|
2020-08-24 08:10:26 -04:00
|
|
|
}
|