bridge

package
v0.0.0-...-b0f1b55 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrClosed = errors.New(`bridge already closed`)

Functions

This section is empty.

Types

type Bridge

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

func New

func New(opts *configure.Bridge) (b *Bridge, e error)

func (*Bridge) Serve

func (b *Bridge) Serve() error

type Error

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

func (Error) Error

func (e Error) Error() string

func (Error) Temporary

func (Error) Temporary() bool

func (Error) Timeout

func (Error) Timeout() bool

type Listener

type Listener struct {
	*reverse.Listener
}

func (Listener) Accept

func (l Listener) Accept() (c net.Conn, e error)

type TCPAddr

type TCPAddr string

func (TCPAddr) Network

func (tcp TCPAddr) Network() string

func (TCPAddr) String

func (tcp TCPAddr) String() string

Jump to

Keyboard shortcuts

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