tool

package
v0.33.12 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WebServerListener *conn.VirtualListener

Functions

func ChartDeciles added in v0.33.12

func ChartDeciles() []map[string]interface{}

func GenerateServerPort

func GenerateServerPort(m string) int

func GetTunnelConn added in v0.33.12

func GetTunnelConn(id int, remote string) (net.Conn, error)

func GetWebServerConn added in v0.33.12

func GetWebServerConn(remote string) (net.Conn, error)

func InitAllowPort

func InitAllowPort()

func SetLookup added in v0.33.12

func SetLookup(fn func(int) (Dialer, bool))

func StartSystemInfo

func StartSystemInfo()

func StatusSnapshot added in v0.33.12

func StatusSnapshot() []map[string]interface{}

func TestServerPort

func TestServerPort(p int, m string) (b bool)

Types

type Dialer added in v0.33.12

type Dialer interface {
	DialVirtual(remote string) (net.Conn, error)
	ServeVirtual(c net.Conn)
}

Jump to

Keyboard shortcuts

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