github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/restfulapi/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package v2ray.app.restfulapi;
     4  option csharp_namespace = "V2Ray.App.Restapi";
     5  option go_package = "github.com/v2fly/v2ray-core/v5/app/restfulapi";
     6  option java_package = "com.v2ray.core.app.restapi";
     7  option java_multiple_files = true;
     8  
     9  import "common/protoext/extensions.proto";
    10  
    11  message Config{
    12    option (v2ray.core.common.protoext.message_opt).type = "service";
    13    option (v2ray.core.common.protoext.message_opt).short_name = "restfulapi";
    14  
    15    string listen_addr = 1;
    16    int32 listen_port = 2;
    17    string auth_token = 3;
    18  }