Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetDestinationOverride() *DestinationOverride
- func (m *Config) GetDomainStrategy() Config_DomainStrategy
- func (m *Config) GetKeepAliveOnResponseClose() bool
- func (m *Config) GetTimeout() uint32
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- type Config_DomainStrategy
- type DestinationOverride
- type Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var Config_DomainStrategy_name = map[int32]string{
0: "AS_IS",
1: "USE_IP",
}
View Source
var Config_DomainStrategy_value = map[string]int32{
"AS_IS": 0,
"USE_IP": 1,
}
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.1.0
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"` KeepAliveOnResponseClose bool `` /* 133-byte string literal not displayed */ }
func (*Config) Descriptor ¶ added in v1.1.0
func (*Config) GetDestinationOverride ¶ added in v1.1.0
func (m *Config) GetDestinationOverride() *DestinationOverride
func (*Config) GetDomainStrategy ¶ added in v1.1.0
func (m *Config) GetDomainStrategy() Config_DomainStrategy
func (*Config) GetKeepAliveOnResponseClose ¶
func (*Config) GetTimeout ¶ added in v1.1.0
func (*Config) ProtoMessage ¶ added in v1.1.0
func (*Config) ProtoMessage()
type Config_DomainStrategy ¶ added in v1.1.0
type Config_DomainStrategy int32
const ( Config_AS_IS Config_DomainStrategy = 0 Config_USE_IP Config_DomainStrategy = 1 )
func (Config_DomainStrategy) EnumDescriptor ¶ added in v1.1.0
func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int)
func (Config_DomainStrategy) String ¶ added in v1.1.0
func (x Config_DomainStrategy) String() string
type DestinationOverride ¶ added in v1.1.0
type DestinationOverride struct {
Server *v2ray_core_common_protocol1.ServerEndpoint `protobuf:"bytes,1,opt,name=server" json:"server,omitempty"`
}
func (*DestinationOverride) Descriptor ¶ added in v1.1.0
func (*DestinationOverride) Descriptor() ([]byte, []int)
func (*DestinationOverride) GetServer ¶ added in v1.1.0
func (m *DestinationOverride) GetServer() *v2ray_core_common_protocol1.ServerEndpoint
func (*DestinationOverride) ProtoMessage ¶ added in v1.1.0
func (*DestinationOverride) ProtoMessage()
func (*DestinationOverride) Reset ¶ added in v1.1.0
func (m *DestinationOverride) Reset()
func (*DestinationOverride) String ¶ added in v1.1.0
func (m *DestinationOverride) String() string
Click to show internal directories.
Click to hide internal directories.