forward

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TransportName = "forward"

Variables

View Source
var Transport = &Forward{}

Functions

This section is empty.

Types

type Forward

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

func (*Forward) Attach

func (f *Forward) Attach(dialer proxy.Dialer)

func (*Forward) Close

func (f *Forward) Close() error

func (*Forward) Dial

func (f *Forward) Dial(network, addr string) (net.Conn, error)

func (*Forward) Proxy

func (f *Forward) Proxy(_ context.Context, _ *transport.Request, localAddr chan<- string, _ io.Writer, _ io.Reader) error

func (*Forward) String

func (f *Forward) String() string

Jump to

Keyboard shortcuts

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