gssh

package
v0.0.0-...-554a7f5 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSResolver

type DNSResolver struct{}

func (DNSResolver) Resolve

func (d DNSResolver) Resolve(ctx context.Context, name string) (context.Context, net.IP, error)

type SSHClient

type SSHClient struct {
	Debug bool

	Client *ssh.Client
	// contains filtered or unexported fields
}

func Init

func Init(sp *SSHClient) SSHClient

func (*SSHClient) Dynamic

func (s *SSHClient) Dynamic(listen string)

func (*SSHClient) RTCPTunnel

func (s *SSHClient) RTCPTunnel(remote string, local string) error

-R

func (*SSHClient) TCPTunnel

func (s *SSHClient) TCPTunnel(local string, remote string) error

-L

Jump to

Keyboard shortcuts

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