tunnel

package
v0.5.28 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialer

type Dialer interface {
	Dial(ctx context.Context, addr string) (Session, error)
}

type Listener

type Listener interface {
	Listen(ctx context.Context, addr string) (net.Listener, error)
}

type Session

type Session interface {
	Accept(context.Context) (Stream, error)
	Open(context.Context) (Stream, error)
	Close() error
}

type Stream

type Stream interface {
	net.Conn
}

type Transport

type Transport interface {
	Dialer
	Listener
}

Jump to

Keyboard shortcuts

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