dokodemo

package
v1.24.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2016 License: MIT Imports: 12 Imported by: 8 modules, 16 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 SO_ORIGINAL_DST = 80

Variables

This section is empty.

Functions

func GetOriginalDestination added in v1.17.1

func GetOriginalDestination(conn internet.Connection) v2net.Destination

Types

type Config added in v1.1.1

type Config struct {
	FollowRedirect bool
	Address        v2net.Address
	Port           v2net.Port
	Network        *v2net.NetworkList
	Timeout        int
}

type DokodemoDoor

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

func NewDokodemoDoor

func NewDokodemoDoor(config *Config, space app.Space, meta *proxy.InboundHandlerMeta) *DokodemoDoor

func (*DokodemoDoor) Close added in v1.9.1

func (this *DokodemoDoor) Close()

func (*DokodemoDoor) HandleTCPConnection

func (this *DokodemoDoor) HandleTCPConnection(conn internet.Connection)

func (*DokodemoDoor) ListenTCP

func (this *DokodemoDoor) ListenTCP() error

func (*DokodemoDoor) ListenUDP

func (this *DokodemoDoor) ListenUDP() error

func (*DokodemoDoor) Port added in v1.9.1

func (this *DokodemoDoor) Port() v2net.Port

func (*DokodemoDoor) Start added in v1.17.1

func (this *DokodemoDoor) Start() error

type Factory added in v1.17.1

type Factory struct{}

func (*Factory) Create added in v1.17.1

func (this *Factory) Create(space app.Space, rawConfig interface{}, meta *proxy.InboundHandlerMeta) (proxy.InboundHandler, error)

func (*Factory) StreamCapability added in v1.17.1

func (this *Factory) StreamCapability() internet.StreamConnectionType

Jump to

Keyboard shortcuts

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