github.com/v2fly/v2ray-core/v4@v4.45.2/proxy/trojan/config.proto (about) 1 syntax = "proto3"; 2 3 package v2ray.core.proxy.trojan; 4 option csharp_namespace = "V2Ray.Core.Proxy.Trojan"; 5 option go_package = "github.com/v2fly/v2ray-core/v4/proxy/trojan"; 6 option java_package = "com.v2ray.core.proxy.trojan"; 7 option java_multiple_files = true; 8 9 import "common/protocol/user.proto"; 10 import "common/protocol/server_spec.proto"; 11 12 message Account { 13 string password = 1; 14 } 15 16 message Fallback { 17 string alpn = 1; 18 string path = 2; 19 string type = 3; 20 string dest = 4; 21 uint64 xver = 5; 22 } 23 24 message ClientConfig { 25 repeated v2ray.core.common.protocol.ServerEndpoint server = 1; 26 } 27 28 message ServerConfig { 29 repeated v2ray.core.common.protocol.User users = 1; 30 repeated Fallback fallbacks = 3; 31 }