ssh

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForwardAddrs

type ForwardAddrs struct {
	LocalPort     int64
	TLSTunnelPort int64
	RemoteAddr    string
}

func (ForwardAddrs) ConnectAddress

func (f ForwardAddrs) ConnectAddress() string

func (ForwardAddrs) ConnectPort

func (f ForwardAddrs) ConnectPort() int64

func (ForwardAddrs) LocalAddress

func (f ForwardAddrs) LocalAddress() string

func (ForwardAddrs) TLSTunnelAddress

func (f ForwardAddrs) TLSTunnelAddress() string

type Tunnel

type Tunnel struct {
	TunnelAddr    string
	TunnelHostKey string
	ForwardAddrs  []ForwardAddrs
	AppGuid       string
	PasswordFunc  func() (string, error)

	sync.Mutex
	// contains filtered or unexported fields
}

func (*Tunnel) Start

func (t *Tunnel) Start() error

func (*Tunnel) Stop

func (t *Tunnel) Stop() error

func (*Tunnel) WaitChan

func (t *Tunnel) WaitChan() chan error

Jump to

Keyboard shortcuts

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