client

package
v0.0.0-...-0fb368a Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GProxy

type GProxy struct {
	Remote *common.Upstream
	Config *common.Config
	// contains filtered or unexported fields
}

func (*GProxy) DialTarget

func (p *GProxy) DialTarget(target string) (conn net.Conn, err error)

func (*GProxy) GetTunnel

func (p *GProxy) GetTunnel(up *common.Upstream) (tunnel *ssht.SSHTunnel, err error)

func (*GProxy) PickRemote

func (p *GProxy) PickRemote() *common.Upstream

func (*GProxy) Running

func (p *GProxy) Running() bool

func (*GProxy) ShutDown

func (p *GProxy) ShutDown()

func (*GProxy) Start

func (p *GProxy) Start(block bool) (error error)

Jump to

Keyboard shortcuts

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