tunnel

package
v0.19.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder added in v0.13.4

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

func NewBuilder added in v0.13.4

func NewBuilder() *Builder

func (*Builder) Build added in v0.13.4

func (t *Builder) Build() *Tunnel

func (*Builder) WithHTTPProxyHandler added in v0.18.0

func (t *Builder) WithHTTPProxyHandler(handler func(e echo.Context) error) *Builder

func (*Builder) WithSSHCloseHandler added in v0.18.0

func (t *Builder) WithSSHCloseHandler(handler func(e echo.Context) error) *Builder

func (*Builder) WithSSHHandler added in v0.18.0

func (t *Builder) WithSSHHandler(handler func(e echo.Context) error) *Builder

type Tunnel

type Tunnel struct {
	HTTPProxyHandler func(e echo.Context) error
	SSHHandler       func(e echo.Context) error
	SSHCloseHandler  func(e echo.Context) error
	// contains filtered or unexported fields
}

func NewTunnel

func NewTunnel() *Tunnel

func (*Tunnel) Close added in v0.13.0

func (t *Tunnel) Close() error

Close closes the tunnel.

func (*Tunnel) Listen

func (t *Tunnel) Listen(l *revdial.Listener) error

Listen to reverse listener.

Jump to

Keyboard shortcuts

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