Documentation ¶
Index ¶
Constants ¶
View Source
const ( SSHUpdateHostname = "" /* 299-byte string literal not displayed */ SSHUpdateOwner = "uci set gluon-node-info.@owner[0].contact='%s';uci commit gluon-node-info;" SSHUpdateLocation = "" /* 184-byte string literal not displayed */ SSHUpdateWifiFreq24 = "" /* 295-byte string literal not displayed */ SSHUpdateWifiFreq5 = "" /* 295-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { Lastseen jsontime.Time `json:"lastseen"` NodeID string `json:"node_id"` Hostname string `json:"hostname"` Location data.Location `json:"location"` Wireless data.Wireless `json:"wireless"` Owner string `json:"owner"` Address net.IP `json:"-"` Stats struct { Wireless data.WirelessStatistics `json:"wireless"` Clients data.Clients `json:"clients"` } `json:"statistics"` }
func NewNode ¶
func NewNode(nodeOrigin *yanicRuntime.Node) *Node
func (*Node) Update ¶
func (n *Node) Update(node *yanicRuntime.Node)
Click to show internal directories.
Click to hide internal directories.