|
|
@@ -64,11 +64,11 @@ func (*Account) ProtoMessage() {}
|
|
|
func (*Account) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
|
|
type ServerConfig struct {
|
|
|
- AuthType AuthType `protobuf:"varint,1,opt,name=auth_type,json=authType,enum=v2ray.core.proxy.socks.AuthType" json:"auth_type,omitempty"`
|
|
|
- Accounts map[string]string `protobuf:"bytes,2,rep,name=accounts" json:"accounts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
|
- Address *v2ray_core_common_net.AddressPB `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
|
|
|
- UdpEnabled bool `protobuf:"varint,4,opt,name=udp_enabled,json=udpEnabled" json:"udp_enabled,omitempty"`
|
|
|
- Timeout uint32 `protobuf:"varint,5,opt,name=timeout" json:"timeout,omitempty"`
|
|
|
+ AuthType AuthType `protobuf:"varint,1,opt,name=auth_type,json=authType,enum=v2ray.core.proxy.socks.AuthType" json:"auth_type,omitempty"`
|
|
|
+ Accounts map[string]string `protobuf:"bytes,2,rep,name=accounts" json:"accounts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
|
+ Address *v2ray_core_common_net.IPOrDomain `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
|
|
|
+ UdpEnabled bool `protobuf:"varint,4,opt,name=udp_enabled,json=udpEnabled" json:"udp_enabled,omitempty"`
|
|
|
+ Timeout uint32 `protobuf:"varint,5,opt,name=timeout" json:"timeout,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (m *ServerConfig) Reset() { *m = ServerConfig{} }
|
|
|
@@ -83,7 +83,7 @@ func (m *ServerConfig) GetAccounts() map[string]string {
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
-func (m *ServerConfig) GetAddress() *v2ray_core_common_net.AddressPB {
|
|
|
+func (m *ServerConfig) GetAddress() *v2ray_core_common_net.IPOrDomain {
|
|
|
if m != nil {
|
|
|
return m.Address
|
|
|
}
|
|
|
@@ -91,7 +91,7 @@ func (m *ServerConfig) GetAddress() *v2ray_core_common_net.AddressPB {
|
|
|
}
|
|
|
|
|
|
type ClientConfig struct {
|
|
|
- Server []*v2ray_core_common_protocol1.ServerSpecPB `protobuf:"bytes,1,rep,name=server" json:"server,omitempty"`
|
|
|
+ Server []*v2ray_core_common_protocol1.ServerEndpoint `protobuf:"bytes,1,rep,name=server" json:"server,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (m *ClientConfig) Reset() { *m = ClientConfig{} }
|
|
|
@@ -99,7 +99,7 @@ func (m *ClientConfig) String() string { return proto.CompactTextStri
|
|
|
func (*ClientConfig) ProtoMessage() {}
|
|
|
func (*ClientConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
|
|
|
|
|
-func (m *ClientConfig) GetServer() []*v2ray_core_common_protocol1.ServerSpecPB {
|
|
|
+func (m *ClientConfig) GetServer() []*v2ray_core_common_protocol1.ServerEndpoint {
|
|
|
if m != nil {
|
|
|
return m.Server
|
|
|
}
|
|
|
@@ -116,32 +116,33 @@ func init() {
|
|
|
func init() { proto.RegisterFile("v2ray.com/core/proxy/socks/config.proto", fileDescriptor0) }
|
|
|
|
|
|
var fileDescriptor0 = []byte{
|
|
|
- // 428 bytes of a gzipped FileDescriptorProto
|
|
|
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x91, 0x51, 0x6b, 0xdb, 0x30,
|
|
|
- 0x10, 0xc7, 0xe7, 0x64, 0x69, 0xdc, 0x73, 0x3a, 0x82, 0x18, 0xc3, 0xf8, 0x65, 0x26, 0x30, 0x66,
|
|
|
- 0xf6, 0x20, 0x97, 0xec, 0x65, 0x74, 0x0c, 0xe6, 0x74, 0x85, 0x3d, 0xb5, 0xc6, 0xe9, 0x18, 0xec,
|
|
|
- 0x25, 0xa8, 0xf2, 0x6d, 0x0d, 0xb5, 0x25, 0x21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