client

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: GPL-3.0 Imports: 25 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppManager added in v0.4.3

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

func NewAppManager added in v0.4.3

func NewAppManager(ctx context.Context, config *conf.GlobalConfig, auth stat.Authenticator) *AppManager

func (*AppManager) OpenAppConn added in v0.4.3

func (m *AppManager) OpenAppConn(req *protocol.Request) (protocol.ConnSession, error)

type Client

type Client struct {
	common.Runnable
	proxy.Buildable
	// contains filtered or unexported fields
}

func (*Client) Build

func (c *Client) Build(config *conf.GlobalConfig) (common.Runnable, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) Run

func (c *Client) Run() error

type Forward added in v0.1.4

type Forward struct {
	common.Runnable
	proxy.Buildable
	// contains filtered or unexported fields
}

func (*Forward) Build added in v0.1.4

func (f *Forward) Build(config *conf.GlobalConfig) (common.Runnable, error)

func (*Forward) Close added in v0.1.4

func (f *Forward) Close() error

func (*Forward) Run added in v0.1.4

func (f *Forward) Run() error

type MuxID added in v0.1.5

type MuxID uint32

type MuxManager added in v0.1.5

type MuxManager struct {
	TransportManager

	sync.Mutex
	// contains filtered or unexported fields
}

func NewMuxPoolManager

func NewMuxPoolManager(ctx context.Context, config *conf.GlobalConfig, auth stat.Authenticator) *MuxManager

func (*MuxManager) DialToServer added in v0.1.5

func (m *MuxManager) DialToServer() (io.ReadWriteCloser, error)

type NAT

type NAT struct {
	common.Runnable
	proxy.Buildable
	// contains filtered or unexported fields
}

func (*NAT) Build

func (n *NAT) Build(config *conf.GlobalConfig) (common.Runnable, error)

func (*NAT) Close

func (n *NAT) Close() error

func (*NAT) Run

func (n *NAT) Run() error

type TLSManager added in v0.1.5

type TLSManager struct {
	TransportManager
	// contains filtered or unexported fields
}

func NewTLSManager added in v0.1.5

func NewTLSManager(config *conf.GlobalConfig) *TLSManager

func (*TLSManager) DialToServer added in v0.1.5

func (m *TLSManager) DialToServer() (io.ReadWriteCloser, error)

type TransportManager added in v0.1.5

type TransportManager interface {
	DialToServer() (io.ReadWriteCloser, error)
}

Jump to

Keyboard shortcuts

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