agent

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(conf config.Agent, ctx context.Context) error

Start starts tunneling agents with given configurations. The agents and tunneled connections are cancelable via context.

Types

type Agent

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

Agent tunnels remote port on a gateway server to local destination.

func (*Agent) Start

func (agent *Agent) Start(ctx context.Context) error

Start connects to tunneling server and starts listening on the remote ports. The connection to the server and tunnels can be canceled via context.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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