Help us shape the future of Go! Take the 2026 Go Developer Survey

nm

package
v1.3.101 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package nm pkg/deployment/monitor/types/types.go c2-net-monitor

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LastCleaningSummary

type LastCleaningSummary struct {
	AllDeadEntriesCleaned int `json:"all_dead_entries_cleaned"`
	Tpd                   int `json:"transport_discovery"`
	Ar                    struct {
		SUDPH int `json:"sudph"`
		STCPR int `json:"stcpr"`
	} `json:"address_resolver"`
	Dmsgd       int `json:"dmsg_discovery"`
	VPN         int `json:"vpn"`
	Skysocks    int `json:"skysocks"`
	PublicVisor int `json:"public_visor"`
}

LastCleaningSummary return a brief summary on last itterate of network monitor and cleaning dead entries

type Status

type Status struct {
	LastUpdate   time.Time            `json:"last_update"`
	OnlineVisors int                  `json:"online_visors"`
	Transports   int                  `json:"alive_transports"`
	VPN          int                  `json:"available_vpn"`
	Skysocks     int                  `json:"available_skysocks"`
	PublicVisor  int                  `json:"available_public_visor"`
	LastCleaning *LastCleaningSummary `json:"last_cleaning"`
}

Status of network

Jump to

Keyboard shortcuts

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