tunnel

package
v0.8.2-38-gf2ee6c6f Latest Latest
Warning

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

Go to latest
Published: Apr 11, 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