proxyproto

package
v1.5.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialer

type Dialer struct {
	N.Dialer
}

func (*Dialer) DialContext

func (d *Dialer) DialContext(ctx context.Context, network string, destination M.Socksaddr) (net.Conn, error)

type Error added in v1.2.0

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

func (*Error) Temporary added in v1.2.0

func (e *Error) Temporary() bool

func (*Error) Timeout added in v1.2.0

func (e *Error) Timeout() bool

func (*Error) Unwrap added in v1.2.0

func (e *Error) Unwrap() error

type Listener

type Listener struct {
	net.Listener
	AcceptNoHeader bool
}

func (*Listener) Accept

func (l *Listener) Accept() (net.Conn, error)

Jump to

Keyboard shortcuts

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