proxy

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: GPL-3.0 Imports: 11 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxy

func NewProxy(config *conf.GlobalConfig) (common.Runnable, error)

func ProxyConn added in v0.0.15

func ProxyConn(ctx context.Context, a, b io.ReadWriter)

func ProxyPacket added in v0.0.15

func ProxyPacket(ctx context.Context, a, b protocol.PacketReadWriter)

func ProxyPacketWithRouter added in v0.0.17

func ProxyPacketWithRouter(ctx context.Context, from protocol.PacketReadWriter, table map[router.Policy]protocol.PacketReadWriter, router router.Router)

func RegisterProxy added in v0.0.15

func RegisterProxy(t conf.RunType, b Buildable)

Types

type Buildable added in v0.0.15

type Buildable interface {
	Build(config *conf.GlobalConfig) (common.Runnable, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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