agent

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: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgent

func NewAgent(c types.Config) types.Agent

func NewLys

func NewLys() *lys

func NewRPC

func NewRPC(conn net.Conn) types.RPC

func StartDohServer added in v0.0.12

func StartDohServer(c types.Config) chan net.Conn

func StartFileServer

func StartFileServer(c types.Config) chan net.Conn

func StartK16sServer added in v0.0.11

func StartK16sServer(c types.Config) chan net.Conn

func StartMetricsServer

func StartMetricsServer(c types.Config) chan net.Conn

func StartPingServer added in v0.0.10

func StartPingServer(c types.Config) chan net.Conn

func StartRedirectServer added in v0.0.9

func StartRedirectServer(c types.Config) chan net.Conn

func StartSocks5Server

func StartSocks5Server(c types.Config) chan net.Conn

func StartTerminalServer

func StartTerminalServer(c types.Config) chan net.Conn

func StartVersionServer added in v0.0.10

func StartVersionServer(c types.Config) chan net.Conn

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.Agent)

func (*YS) Close

func (ys *YS) Close()

func (*YS) Done

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

Jump to

Keyboard shortcuts

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