freedom

package
v1.24.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2016 License: MIT Imports: 14 Imported by: 8 modules, 17 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 added in v1.1.1

type Config struct {
	DomainStrategy DomainStrategy
	Timeout        uint32
}

type DomainStrategy added in v1.17.1

type DomainStrategy int

type FreedomConnection

type FreedomConnection struct {
	// contains filtered or unexported fields
}

func NewFreedomConnection

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

type FreedomFactory struct{}

func (*FreedomFactory) Create

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL