Documentation ¶
Index ¶
- type Config
- func (this *Config) InboundConfig() point.ConnectionConfig
- func (this *Config) InboundDetours() []point.InboundDetourConfig
- func (config *Config) LogConfig() point.LogConfig
- func (this *Config) OutboundConfig() point.ConnectionConfig
- func (this *Config) OutboundDetours() []point.OutboundDetourConfig
- func (config *Config) Port() v2net.Port
- func (this *Config) RouterConfig() router.Config
- type ConnectionConfig
- type InboundDetourConfig
- type LogConfig
- type OutboundDetourConfig
- type PortRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PortValue v2net.Port LogConfigValue *LogConfig RouterConfigValue *routertesting.RouterConfig InboundConfigValue *ConnectionConfig OutboundConfigValue *ConnectionConfig InboundDetoursValue []*InboundDetourConfig OutboundDetoursValue []*OutboundDetourConfig }
func (*Config) InboundConfig ¶
func (this *Config) InboundConfig() point.ConnectionConfig
func (*Config) InboundDetours ¶
func (this *Config) InboundDetours() []point.InboundDetourConfig
func (*Config) OutboundConfig ¶
func (this *Config) OutboundConfig() point.ConnectionConfig
func (*Config) OutboundDetours ¶
func (this *Config) OutboundDetours() []point.OutboundDetourConfig
func (*Config) RouterConfig ¶
type ConnectionConfig ¶
type ConnectionConfig struct { ProtocolValue string SettingsValue interface{} }
func (*ConnectionConfig) Protocol ¶
func (config *ConnectionConfig) Protocol() string
func (*ConnectionConfig) Settings ¶
func (config *ConnectionConfig) Settings() interface{}
type InboundDetourConfig ¶
type InboundDetourConfig struct { *ConnectionConfig PortRangeValue *PortRange TagValue string }
func (*InboundDetourConfig) PortRange ¶
func (this *InboundDetourConfig) PortRange() v2net.PortRange
func (*InboundDetourConfig) Tag ¶
func (this *InboundDetourConfig) Tag() string
type OutboundDetourConfig ¶
type OutboundDetourConfig struct { *ConnectionConfig TagValue string }
func (*OutboundDetourConfig) Tag ¶
func (this *OutboundDetourConfig) Tag() string
Click to show internal directories.
Click to hide internal directories.