tunneler

package
v0.0.0-...-c70c6bf Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: BSD-2-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeepAliveConfig

type KeepAliveConfig struct {

	// Interval is the amount of time in seconds to wait before the
	// tunnel client will send a keep-alive message to ensure some minimum
	// traffic on the SSH connection.
	Interval uint

	// CountMax is the maximum number of consecutive failed responses to
	// keep-alive messages the client is willing to tolerate before considering
	// the SSH connection as dead.
	CountMax uint
}

type TunnelConfig

type TunnelConfig struct {
	Tunnel map[string]tunnel
}

func (TunnelConfig) String

func (tc TunnelConfig) String() string

type Tunneler

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

func New

func New(f, m string) *Tunneler

func (*Tunneler) Execute

func (task *Tunneler) Execute()

Jump to

Keyboard shortcuts

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