|  | @@ -0,0 +1,120 @@
 | 
											
												
													
														|  | 
 |  | +// Code generated by protoc-gen-go.
 | 
											
												
													
														|  | 
 |  | +// source: v2ray.com/core/proxy/shadowsocks/config.proto
 | 
											
												
													
														|  | 
 |  | +// DO NOT EDIT!
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +/*
 | 
											
												
													
														|  | 
 |  | +Package shadowsocks is a generated protocol buffer package.
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +It is generated from these files:
 | 
											
												
													
														|  | 
 |  | +	v2ray.com/core/proxy/shadowsocks/config.proto
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +It has these top-level messages:
 | 
											
												
													
														|  | 
 |  | +	Account
 | 
											
												
													
														|  | 
 |  | +	Config
 | 
											
												
													
														|  | 
 |  | +*/
 | 
											
												
													
														|  | 
 |  | +package shadowsocks
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +import proto "github.com/golang/protobuf/proto"
 | 
											
												
													
														|  | 
 |  | +import fmt "fmt"
 | 
											
												
													
														|  | 
 |  | +import math "math"
 | 
											
												
													
														|  | 
 |  | +import com_v2ray_core_common_protocol "v2ray.com/core/common/protocol"
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +// Reference imports to suppress errors if they are not otherwise used.
 | 
											
												
													
														|  | 
 |  | +var _ = proto.Marshal
 | 
											
												
													
														|  | 
 |  | +var _ = fmt.Errorf
 | 
											
												
													
														|  | 
 |  | +var _ = math.Inf
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +// This is a compile-time assertion to ensure that this generated file
 | 
											
												
													
														|  | 
 |  | +// is compatible with the proto package it is being compiled against.
 | 
											
												
													
														|  | 
 |  | +// A compilation error at this line likely means your copy of the
 | 
											
												
													
														|  | 
 |  | +// proto package needs to be updated.
 | 
											
												
													
														|  | 
 |  | +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +type Config_Cipher int32
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +const (
 | 
											
												
													
														|  | 
 |  | +	Config_UNKNOWN       Config_Cipher = 0
 | 
											
												
													
														|  | 
 |  | +	Config_AES_128_CFB   Config_Cipher = 1
 | 
											
												
													
														|  | 
 |  | +	Config_AES_256_CFB   Config_Cipher = 2
 | 
											
												
													
														|  | 
 |  | +	Config_CHACHA20      Config_Cipher = 3
 | 
											
												
													
														|  | 
 |  | +	Config_CHACHA20_IEFT Config_Cipher = 4
 | 
											
												
													
														|  | 
 |  | +)
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +var Config_Cipher_name = map[int32]string{
 | 
											
												
													
														|  | 
 |  | +	0: "UNKNOWN",
 | 
											
												
													
														|  | 
 |  | +	1: "AES_128_CFB",
 | 
											
												
													
														|  | 
 |  | +	2: "AES_256_CFB",
 | 
											
												
													
														|  | 
 |  | +	3: "CHACHA20",
 | 
											
												
													
														|  | 
 |  | +	4: "CHACHA20_IEFT",
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +var Config_Cipher_value = map[string]int32{
 | 
											
												
													
														|  | 
 |  | +	"UNKNOWN":       0,
 | 
											
												
													
														|  | 
 |  | +	"AES_128_CFB":   1,
 | 
											
												
													
														|  | 
 |  | +	"AES_256_CFB":   2,
 | 
											
												
													
														|  | 
 |  | +	"CHACHA20":      3,
 | 
											
												
													
														|  | 
 |  | +	"CHACHA20_IEFT": 4,
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +func (x Config_Cipher) String() string {
 | 
											
												
													
														|  | 
 |  | +	return proto.EnumName(Config_Cipher_name, int32(x))
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +func (Config_Cipher) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +type Account struct {
 | 
											
												
													
														|  | 
 |  | +	Password string `protobuf:"bytes,1,opt,name=password" json:"password,omitempty"`
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +func (m *Account) Reset()                    { *m = Account{} }
 | 
											
												
													
														|  | 
 |  | +func (m *Account) String() string            { return proto.CompactTextString(m) }
 | 
											
												
													
														|  | 
 |  | +func (*Account) ProtoMessage()               {}
 | 
											
												
													
														|  | 
 |  | +func (*Account) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +type Config struct {
 | 
											
												
													
														|  | 
 |  | +	Cipher     Config_Cipher                        `protobuf:"varint,1,opt,name=cipher,enum=com.v2ray.core.proxy.shadowsocks.Config_Cipher" json:"cipher,omitempty"`
 | 
											
												
													
														|  | 
 |  | +	UdpEnabled bool                                 `protobuf:"varint,2,opt,name=udp_enabled,json=udpEnabled" json:"udp_enabled,omitempty"`
 | 
											
												
													
														|  | 
 |  | +	User       *com_v2ray_core_common_protocol.User `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +func (m *Config) Reset()                    { *m = Config{} }
 | 
											
												
													
														|  | 
 |  | +func (m *Config) String() string            { return proto.CompactTextString(m) }
 | 
											
												
													
														|  | 
 |  | +func (*Config) ProtoMessage()               {}
 | 
											
												
													
														|  | 
 |  | +func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +func (m *Config) GetUser() *com_v2ray_core_common_protocol.User {
 | 
											
												
													
														|  | 
 |  | +	if m != nil {
 | 
											
												
													
														|  | 
 |  | +		return m.User
 | 
											
												
													
														|  | 
 |  | +	}
 | 
											
												
													
														|  | 
 |  | +	return nil
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +func init() {
 | 
											
												
													
														|  | 
 |  | +	proto.RegisterType((*Account)(nil), "com.v2ray.core.proxy.shadowsocks.Account")
 | 
											
												
													
														|  | 
 |  | +	proto.RegisterType((*Config)(nil), "com.v2ray.core.proxy.shadowsocks.Config")
 | 
											
												
													
														|  | 
 |  | +	proto.RegisterEnum("com.v2ray.core.proxy.shadowsocks.Config_Cipher", Config_Cipher_name, Config_Cipher_value)
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +func init() { proto.RegisterFile("v2ray.com/core/proxy/shadowsocks/config.proto", fileDescriptor0) }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +var fileDescriptor0 = []byte{
 | 
											
												
													
														|  | 
 |  | +	// 308 bytes of a gzipped FileDescriptorProto
 | 
											
												
													
														|  | 
 |  | +	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x8f, 0x41, 0x4f, 0xc2, 0x40,
 | 
											
												
													
														|  | 
 |  | +	0x14, 0x84, 0x2d, 0x90, 0x82, 0xaf, 0xa2, 0x75, 0x4f, 0x84, 0x8b, 0x0d, 0xd1, 0x04, 0x0f, 0xee,
 | 
											
												
													
														|  | 
 |  | +	0x6a, 0x8d, 0x86, 0x6b, 0x69, 0x40, 0x8c, 0x09, 0x26, 0x55, 0xa2, 0xf1, 0xd2, 0x94, 0xed, 0x2a,
 | 
											
												
													
														|  | 
 |  | +	0x44, 0xda, 0xd7, 0xec, 0x52, 0x91, 0x3f, 0xe0, 0xef, 0x36, 0x6e, 0xad, 0x21, 0x5c, 0x3c, 0xbe,
 | 
											
												
													
														|  | 
 |  | +	0xc9, 0x7c, 0x6f, 0x66, 0xe0, 0xec, 0xc3, 0x95, 0xd1, 0x9a, 0x72, 0x4c, 0x18, 0x47, 0x29, 0x58,
 | 
											
												
													
														|  | 
 |  | +	0x26, 0xf1, 0x73, 0xcd, 0xd4, 0x2c, 0x8a, 0x71, 0xa5, 0x90, 0xbf, 0x2b, 0xc6, 0x31, 0x7d, 0x9d,
 | 
											
												
													
														|  | 
 |  | +	0xbf, 0xd1, 0x4c, 0xe2, 0x12, 0x89, 0xc3, 0x31, 0xa1, 0x25, 0x22, 0x05, 0xd5, 0x76, 0xba, 0x61,
 | 
											
												
													
														|  | 
 |  | +	0x6f, 0x9f, 0x6e, 0x3d, 0xe4, 0x98, 0x24, 0x98, 0x32, 0x8d, 0x73, 0x5c, 0xb0, 0x5c, 0x09, 0x59,
 | 
											
												
													
														|  | 
 |  | +	0x3c, 0xeb, 0x9c, 0x40, 0xdd, 0xe3, 0x1c, 0xf3, 0x74, 0x49, 0xda, 0xd0, 0xc8, 0x22, 0xa5, 0x56,
 | 
											
												
													
														|  | 
 |  | +	0x28, 0xe3, 0x96, 0xe1, 0x18, 0xdd, 0xdd, 0xe0, 0xef, 0xee, 0x7c, 0x55, 0xc0, 0xf4, 0x75, 0x09,
 | 
											
												
													
														|  | 
 |  | +	0x72, 0x03, 0x26, 0x9f, 0x67, 0x33, 0x21, 0xb5, 0x69, 0xdf, 0x65, 0xf4, 0xbf, 0x3e, 0xb4, 0x20,
 | 
											
												
													
														|  | 
 |  | +	0xa9, 0xaf, 0xb1, 0xe0, 0x17, 0x27, 0x47, 0x60, 0xe5, 0x71, 0x16, 0x8a, 0x34, 0x9a, 0x2e, 0x44,
 | 
											
												
													
														|  | 
 |  | +	0xdc, 0xaa, 0x38, 0x46, 0xb7, 0x11, 0x40, 0x1e, 0x67, 0x83, 0x42, 0x21, 0x3d, 0xa8, 0xfd, 0x34,
 | 
											
												
													
														|  | 
 |  | +	0x6d, 0x55, 0x1d, 0xa3, 0x6b, 0xb9, 0xc7, 0xdb, 0x39, 0xc5, 0x2a, 0x5a, 0xae, 0xa2, 0x13, 0x25,
 | 
											
												
													
														|  | 
 |  | +	0x64, 0xa0, 0x89, 0xce, 0x33, 0x98, 0x45, 0x18, 0xb1, 0xa0, 0x3e, 0x19, 0xdf, 0x8d, 0xef, 0x9f,
 | 
											
												
													
														|  | 
 |  | +	0xc6, 0xf6, 0x0e, 0x39, 0x00, 0xcb, 0x1b, 0x3c, 0x84, 0x17, 0x6e, 0x2f, 0xf4, 0x87, 0x7d, 0xdb,
 | 
											
												
													
														|  | 
 |  | +	0x28, 0x05, 0xf7, 0xea, 0x5a, 0x0b, 0x15, 0xb2, 0x07, 0x0d, 0x7f, 0xe4, 0xf9, 0x23, 0xcf, 0x3d,
 | 
											
												
													
														|  | 
 |  | +	0xb7, 0xab, 0xe4, 0x10, 0x9a, 0xe5, 0x15, 0xde, 0x0e, 0x86, 0x8f, 0x76, 0xad, 0xdf, 0x7c, 0xb1,
 | 
											
												
													
														|  | 
 |  | +	0x36, 0x96, 0x4d, 0x4d, 0x9d, 0x7e, 0xf9, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x1d, 0xee, 0x41, 0x94,
 | 
											
												
													
														|  | 
 |  | +	0xc3, 0x01, 0x00, 0x00,
 | 
											
												
													
														|  | 
 |  | +}
 |