warp

package
v0.6.13-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConnClosed = fmt.Errorf("use of closed network connection")
)

Functions

func ConnWithAddr

func ConnWithAddr(conn net.Conn, localAddr, remoteAddr net.Addr) net.Conn

func ConnWithCloser added in v0.6.7

func ConnWithCloser(conn net.Conn, closer func() error) net.Conn

func NewCommandDialContext added in v0.6.8

func NewCommandDialContext(ctx context.Context, commandDialer bridge.CommandDialer, localAddr, remoteAddr net.Addr, proxy []string) (net.Conn, error)

func NewCommandListener added in v0.6.8

func NewCommandListener(ctx context.Context, commandDialer bridge.CommandDialer, localAddr net.Addr, remoteAddr net.Addr, proxy []string) (net.Listener, error)

func NewNetAddr

func NewNetAddr(network, address string) net.Addr

Types

This section is empty.

Jump to

Keyboard shortcuts

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