github.com/xraypb/xray-core@v1.6.6/proxy/http/config.proto (about) 1 syntax = "proto3"; 2 3 package xray.proxy.http; 4 option csharp_namespace = "Xray.Proxy.Http"; 5 option go_package = "github.com/xraypb/xray-core/proxy/http"; 6 option java_package = "com.xray.proxy.http"; 7 option java_multiple_files = true; 8 9 import "common/protocol/server_spec.proto"; 10 11 message Account { 12 string username = 1; 13 string password = 2; 14 } 15 16 // Config for HTTP proxy server. 17 message ServerConfig { 18 uint32 timeout = 1 [deprecated = true]; 19 map<string, string> accounts = 2; 20 bool allow_transparent = 3; 21 uint32 user_level = 4; 22 } 23 24 // ClientConfig is the protobuf config for HTTP proxy client. 25 message ClientConfig { 26 // Sever is a list of HTTP server addresses. 27 repeated xray.common.protocol.ServerEndpoint server = 1; 28 }