Documentation ¶
Index ¶
Constants ¶
View Source
const ( LINK_TYPE_WIRELESS = "wifi" LINK_TYPE_TUNNEL = "vpn" LINK_TYPE_FALLBACK = "other" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Autoupdater ¶
Autoupdater
type Firmware ¶
type Firmware struct { Base string `json:"base,omitempty"` Release string `json:"release,omitempty"` }
Firmware out of software
type Link ¶
type Link struct { Type string `json:"type"` Source string `json:"source"` Target string `json:"target"` SourceTQ float32 `json:"source_tq"` TargetTQ float32 `json:"target_tq"` SourceAddress string `json:"source_addr"` TargetAddress string `json:"target_addr"` }
Link
type Location ¶
type Location struct { Longitude float64 `json:"longitude,omitempty"` Latitude float64 `json:"latitude,omitempty"` }
Location struct
type Meshviewer ¶
type Node ¶
type Node struct { Firstseen jsontime.Time `json:"firstseen"` Lastseen jsontime.Time `json:"lastseen"` IsOnline bool `json:"is_online"` IsGateway bool `json:"is_gateway"` Clients uint32 `json:"clients"` ClientsWifi24 uint32 `json:"clients_wifi24"` ClientsWifi5 uint32 `json:"clients_wifi5"` ClientsOthers uint32 `json:"clients_other"` RootFSUsage float64 `json:"rootfs_usage"` LoadAverage float64 `json:"loadavg"` MemoryUsage *float64 `json:"memory_usage,omitempty"` Uptime jsontime.Time `json:"uptime,omitempty"` GatewayNexthop string `json:"gateway_nexthop,omitempty"` GatewayIPv4 string `json:"gateway,omitempty"` GatewayIPv6 string `json:"gateway6,omitempty"` NodeID string `json:"node_id"` MAC string `json:"mac"` Addresses []string `json:"addresses"` SiteCode string `json:"site_code,omitempty"` DomainCode string `json:"-"` Hostname string `json:"hostname"` Owner string `json:"owner,omitempty"` Location *Location `json:"location,omitempty"` Firmware Firmware `json:"firmware,omitempty"` Autoupdater Autoupdater `json:"autoupdater"` Nproc int `json:"nproc"` Model string `json:"model,omitempty"` VPN bool `json:"vpn"` }
Click to show internal directories.
Click to hide internal directories.