hub

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentManager

func NewAgentManager() types.AgentManager

func NewHandleHijackListener

func NewHandleHijackListener() *lys

func NewHub

func NewHub(c types.Config) types.Hub

func ToRPC

func ToRPC(conn net.Conn) types.RPC

Types

type YS

type YS struct {
	net.Conn
	*bufio.Scanner
	// contains filtered or unexported fields
}

func (*YS) Actions

func (ys *YS) Actions() <-chan func(types.Hub)

func (*YS) Close

func (ys *YS) Close()

func (*YS) Done

func (ys *YS) Done() <-chan struct{}

func (*YS) ID

func (ys *YS) ID() string

func (*YS) Name

func (ys *YS) Name() string

func (*YS) NewTunnel added in v0.0.10

func (ys *YS) NewTunnel(tun api.Tunnel)

func (*YS) Ping

func (ys *YS) Ping()

func (*YS) RemoteIP

func (ys *YS) RemoteIP() string

func (*YS) Time

func (ys *YS) Time() time.Time

Jump to

Keyboard shortcuts

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