Versions in this module Expand all Collapse all v1 v1.24.4 Aug 19, 2016 Changes in this version + const AllocationStrategyAlways + const AllocationStrategyExternal + const AllocationStrategyRandom + type Config struct + DNSConfig *dns.Config + InboundConfig *InboundConnectionConfig + InboundDetours []*InboundDetourConfig + LogConfig *LogConfig + OutboundConfig *OutboundConnectionConfig + OutboundDetours []*OutboundDetourConfig + Port v2net.Port + RouterConfig *router.Config + TransportConfig *transport.Config + func LoadConfig(init string) (*Config, error) + type ConfigLoader func(init string) (*Config, error) + type InboundConnectionConfig struct + AllowPassiveConnection bool + ListenOn v2net.Address + Port v2net.Port + Protocol string + Settings []byte + StreamSettings *internet.StreamSettings + type InboundDetourAllocationConfig struct + Concurrency int + Refresh int + Strategy string + type InboundDetourConfig struct + Allocation *InboundDetourAllocationConfig + AllowPassiveConnection bool + ListenOn v2net.Address + PortRange v2net.PortRange + Protocol string + Settings []byte + StreamSettings *internet.StreamSettings + Tag string + type InboundDetourHandler interface + Close func() + GetConnectionHandler func() (proxy.InboundHandler, int) + Start func() error + type InboundDetourHandlerAlways struct + func NewInboundDetourHandlerAlways(space app.Space, config *InboundDetourConfig) (*InboundDetourHandlerAlways, error) + func (this *InboundDetourHandlerAlways) Close() + func (this *InboundDetourHandlerAlways) GetConnectionHandler() (proxy.InboundHandler, int) + func (this *InboundDetourHandlerAlways) Start() error + type InboundDetourHandlerDynamic struct + func NewInboundDetourHandlerDynamic(space app.Space, config *InboundDetourConfig) (*InboundDetourHandlerDynamic, error) + func (this *InboundDetourHandlerDynamic) Close() + func (this *InboundDetourHandlerDynamic) GetConnectionHandler() (proxy.InboundHandler, int) + func (this *InboundDetourHandlerDynamic) RecyleHandles() + func (this *InboundDetourHandlerDynamic) Start() error + type LogConfig struct + AccessLog string + ErrorLog string + LogLevel log.LogLevel + type OutboundConnectionConfig struct + Protocol string + SendThrough v2net.Address + Settings []byte + StreamSettings *internet.StreamSettings + type OutboundDetourConfig struct + Protocol string + SendThrough v2net.Address + Settings []byte + StreamSettings *internet.StreamSettings + Tag string + type Point struct + func NewPoint(pConfig *Config) (*Point, error) + func (this *Point) Close() + func (this *Point) GetHandler(tag string) (proxy.InboundHandler, int) + func (this *Point) Release() + func (this *Point) Start() error