tunnel

package
v0.8.5-25-g53dbc680 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

Types

type Relay

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

Relay relays TCP connections to a local listener to a remote host over TLS.

func (*Relay) Up

func (r *Relay) Up(ctx context.Context) error

type TunnelOptions

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

func (*TunnelOptions) Pre

func (opts *TunnelOptions) Pre(cmd *cobra.Command, _ []string) error

func (*TunnelOptions) Run

func (opts *TunnelOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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