passthrough

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

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

func NewListener

func NewListener(ctx context.Context, addr net.Addr) Listener

func (Listener) Accept

func (pl Listener) Accept() (net.Conn, error)

func (Listener) Addr

func (pl Listener) Addr() net.Addr

func (Listener) Close

func (pl Listener) Close() error

func (Listener) Offer

func (pl Listener) Offer(conn net.Conn) error

Jump to

Keyboard shortcuts

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