Documentation
¶
Index ¶
- Variables
- func ChartDeciles() []map[string]interface{}
- func CounterDelta(cur, prev uint64) uint64
- func GenerateServerPort(m string) int
- func GenerateTunnelPort(t *file.Tunnel) int
- func GetIPRegisterConn(ctx context.Context, remote string) (net.Conn, error)
- func GetTunnelConn(id int, remote string) (net.Conn, error)
- func GetWebServerConn(ctx context.Context, remote string) (net.Conn, error)
- func InitAllowPort()
- func SetLookup(fn func(int) (Dialer, bool))
- func StartSystemInfo()
- func StatusSnapshot() []map[string]interface{}
- func TestServerPort(p int, m string) (b bool)
- func TestTunnelPort(t *file.Tunnel) bool
- type Dialer
Constants ¶
This section is empty.
Variables ¶
var IPRegisterListener *netx.ChanListener
IPRegisterListener feeds the registration page; see GetIPRegisterConn.
var WebServerListener *netx.ChanListener
Functions ¶
func ChartDeciles ¶ added in v0.32.7
func ChartDeciles() []map[string]interface{}
func CounterDelta ¶ added in v0.34.8
CounterDelta returns how far a monotonically increasing counter advanced from prev to cur. A counter that went backwards was reset (for example the interface was recreated), and the interval counts as zero.
func GenerateServerPort ¶
func GenerateTunnelPort ¶ added in v0.34.8
func GetIPRegisterConn ¶ added in v0.34.9
GetIPRegisterConn connects a bridge://ipreg target to the registration page, with remote, the visitor, as the address it sees.
func GetWebServerConn ¶ added in v0.33.6
GetWebServerConn connects to the web server's in-memory listener as remote.
func InitAllowPort ¶
func InitAllowPort()
func StartSystemInfo ¶
func StartSystemInfo()
func StatusSnapshot ¶ added in v0.32.7
func StatusSnapshot() []map[string]interface{}