github.com/xraypb/Xray-core@v1.8.1/proxy/mtproto/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package xray.proxy.mtproto;
     4  option csharp_namespace = "Xray.Proxy.Mtproto";
     5  option go_package = "github.com/xraypb/Xray-core/proxy/mtproto";
     6  option java_package = "com.xray.proxy.mtproto";
     7  option java_multiple_files = true;
     8  
     9  import "common/protocol/user.proto";
    10  
    11  message Account {
    12    bytes secret = 1;
    13  }
    14  
    15  message ServerConfig {
    16    // User is a list of users that allowed to connect to this inbound.
    17    // Although this is a repeated field, only the first user is effective for
    18    // now.
    19    repeated xray.common.protocol.User user = 1;
    20  }
    21  
    22  message ClientConfig {}