Documentation ¶
Index ¶
Constants ¶
View Source
const ( DomainStrategyAsIs = DomainStrategy(0) DomainStrategyUseIP = DomainStrategy(1) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DomainStrategy DomainStrategy Timeout uint32 }
type DomainStrategy ¶ added in v1.17.1
type DomainStrategy int
type FreedomConnection ¶ added in v0.6.1
type FreedomConnection struct {
// contains filtered or unexported fields
}
func NewFreedomConnection ¶ added in v0.6.1
func NewFreedomConnection(config *Config, space app.Space, meta *proxy.OutboundHandlerMeta) *FreedomConnection
func (*FreedomConnection) Dispatch ¶ added in v0.9.1
func (this *FreedomConnection) Dispatch(destination v2net.Destination, payload *alloc.Buffer, ray ray.OutboundRay) error
func (*FreedomConnection) ResolveIP ¶ added in v1.17.1
func (this *FreedomConnection) ResolveIP(destination v2net.Destination) v2net.Destination
@Private
type FreedomFactory ¶ added in v0.6.1
type FreedomFactory struct{}
func (*FreedomFactory) Create ¶ added in v0.6.1
func (this *FreedomFactory) Create(space app.Space, config interface{}, meta *proxy.OutboundHandlerMeta) (proxy.OutboundHandler, error)
func (*FreedomFactory) StreamCapability ¶ added in v1.17.1
func (this *FreedomFactory) StreamCapability() internet.StreamConnectionType
Click to show internal directories.
Click to hide internal directories.