server

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 33 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentManager

func NewAgentManager() hub.AgentManager

func NewHandleHijackListener

func NewHandleHijackListener() *lys

func NewHub

func NewHub(c hub.Config) hub.Hub

func ToRPC

func ToRPC(conn net.Conn) hub.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(hub.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

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