Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAddress() *net.IPOrDomain
- func (x *Config) GetFollowRedirect() bool
- func (x *Config) GetNetworkList() *net.NetworkListdeprecated
- func (x *Config) GetNetworks() []net.Network
- func (x *Config) GetPort() uint32
- func (v *Config) GetPredefinedAddress() net.Address
- func (x *Config) GetTimeout() uint32deprecated
- func (x *Config) GetUserLevel() uint32
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Door
- type SimplifiedConfig
- func (*SimplifiedConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SimplifiedConfig) GetAddress() *net.IPOrDomain
- func (x *SimplifiedConfig) GetFollowRedirect() bool
- func (x *SimplifiedConfig) GetNetworks() *net.NetworkList
- func (x *SimplifiedConfig) GetPort() uint32
- func (*SimplifiedConfig) ProtoMessage()
- func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message
- func (x *SimplifiedConfig) Reset()
- func (x *SimplifiedConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proxy_dokodemo_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.1.0
type Config struct { Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // List of networks that the Dokodemo accepts. // Deprecated. Use networks. // // Deprecated: Do not use. NetworkList *net.NetworkList `protobuf:"bytes,3,opt,name=network_list,json=networkList,proto3" json:"network_list,omitempty"` // List of networks that the Dokodemo accepts. Networks []net.Network `protobuf:"varint,7,rep,packed,name=networks,proto3,enum=v2ray.core.common.net.Network" json:"networks,omitempty"` // Deprecated: Do not use. Timeout uint32 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"` FollowRedirect bool `protobuf:"varint,5,opt,name=follow_redirect,json=followRedirect,proto3" json:"follow_redirect,omitempty"` UserLevel uint32 `protobuf:"varint,6,opt,name=user_level,json=userLevel,proto3" json:"user_level,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
added in
v1.1.0
func (*Config) GetAddress ¶ added in v1.1.0
func (x *Config) GetAddress() *net.IPOrDomain
func (*Config) GetFollowRedirect ¶ added in v1.1.0
func (*Config) GetNetworkList
deprecated
added in
v1.1.0
func (x *Config) GetNetworkList() *net.NetworkList
Deprecated: Do not use.
func (*Config) GetNetworks ¶ added in v1.1.0
func (*Config) GetPredefinedAddress ¶ added in v1.1.0
GetPredefinedAddress returns the defined address from proto config. Null if address is not valid.
func (*Config) GetTimeout
deprecated
added in
v1.1.0
func (*Config) GetUserLevel ¶ added in v1.1.0
func (*Config) ProtoMessage ¶ added in v1.1.0
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v1.1.0
func (x *Config) ProtoReflect() protoreflect.Message
type Door ¶ added in v1.1.0
type Door struct {
// contains filtered or unexported fields
}
type SimplifiedConfig ¶ added in v1.1.0
type SimplifiedConfig struct { Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` Networks *net.NetworkList `protobuf:"bytes,3,opt,name=networks,proto3" json:"networks,omitempty"` FollowRedirect bool `protobuf:"varint,4,opt,name=follow_redirect,json=followRedirect,proto3" json:"follow_redirect,omitempty"` // contains filtered or unexported fields }
func (*SimplifiedConfig) Descriptor
deprecated
added in
v1.1.0
func (*SimplifiedConfig) Descriptor() ([]byte, []int)
Deprecated: Use SimplifiedConfig.ProtoReflect.Descriptor instead.
func (*SimplifiedConfig) GetAddress ¶ added in v1.1.0
func (x *SimplifiedConfig) GetAddress() *net.IPOrDomain
func (*SimplifiedConfig) GetFollowRedirect ¶ added in v1.1.0
func (x *SimplifiedConfig) GetFollowRedirect() bool
func (*SimplifiedConfig) GetNetworks ¶ added in v1.1.0
func (x *SimplifiedConfig) GetNetworks() *net.NetworkList
func (*SimplifiedConfig) GetPort ¶ added in v1.1.0
func (x *SimplifiedConfig) GetPort() uint32
func (*SimplifiedConfig) ProtoMessage ¶ added in v1.1.0
func (*SimplifiedConfig) ProtoMessage()
func (*SimplifiedConfig) ProtoReflect ¶ added in v1.1.0
func (x *SimplifiedConfig) ProtoReflect() protoreflect.Message
func (*SimplifiedConfig) Reset ¶ added in v1.1.0
func (x *SimplifiedConfig) Reset()
func (*SimplifiedConfig) String ¶ added in v1.1.0
func (x *SimplifiedConfig) String() string
Click to show internal directories.
Click to hide internal directories.