Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.1.1
type Config struct { DomainStrategy Config_DomainStrategy `` /* 149-byte string literal not displayed */ Timeout uint32 `protobuf:"varint,2,opt,name=timeout" json:"timeout,omitempty"` DestinationOverride *DestinationOverride `protobuf:"bytes,3,opt,name=destination_override,json=destinationOverride" json:"destination_override,omitempty"` }
func (*Config) GetDestinationOverride ¶
func (m *Config) GetDestinationOverride() *DestinationOverride
func (*Config) GetDomainStrategy ¶
func (m *Config) GetDomainStrategy() Config_DomainStrategy
type Config_DomainStrategy ¶
type Config_DomainStrategy int32
const ( Config_AS_IS Config_DomainStrategy = 0 Config_USE_IP Config_DomainStrategy = 1 )
func (Config_DomainStrategy) EnumDescriptor ¶
func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int)
func (Config_DomainStrategy) String ¶
func (x Config_DomainStrategy) String() string
type DestinationOverride ¶
type DestinationOverride struct {
Server *v2ray_core_common_protocol1.ServerEndpoint `protobuf:"bytes,1,opt,name=server" json:"server,omitempty"`
}
func (*DestinationOverride) Descriptor ¶
func (*DestinationOverride) Descriptor() ([]byte, []int)
func (*DestinationOverride) GetServer ¶
func (m *DestinationOverride) GetServer() *v2ray_core_common_protocol1.ServerEndpoint
func (*DestinationOverride) ProtoMessage ¶
func (*DestinationOverride) ProtoMessage()
func (*DestinationOverride) Reset ¶
func (m *DestinationOverride) Reset()
func (*DestinationOverride) String ¶
func (m *DestinationOverride) String() string
Click to show internal directories.
Click to hide internal directories.