Versions in this module Expand all Collapse all v0 v0.0.2 May 5, 2018 Changes in this version + func BuildNodesV1(nodes *runtime.Nodes) interface + func BuildNodesV2(nodes *runtime.Nodes) interface + func Register(configuration map[string]interface{}) (output.Output, error) + type Config map[string]interface + func (c Config) GraphPath() string + func (c Config) NodesPath() string + func (c Config) Version() int64 + type Flags struct + Gateway bool + Online bool + type Graph struct + Batadv struct{ ... } + Version int + func BuildGraph(nodes *runtime.Nodes) *Graph + type GraphLink struct + Bidirect bool + Source int + TQ float32 + Target int + VPN bool + type GraphNode struct + ID string + NodeID string + type Node struct + Firstseen jsontime.Time + Flags Flags + Lastseen jsontime.Time + Neighbours *data.Neighbours + Nodeinfo *data.NodeInfo + Statistics *Statistics + type NodesV1 struct + List map[string]*Node + Timestamp jsontime.Time + Version int + type NodesV2 struct + List []*Node + Timestamp jsontime.Time + Version int + type Output struct + func (o *Output) Save(nodes *runtime.Nodes) + type Statistics struct + Clients uint32 + GatewayIPv4 string + GatewayIPv6 string + Idletime float64 + LoadAverage float64 + MemoryUsage *float64 + MeshVPN *data.MeshVPN + NodeID string + Processes struct{ ... } + RootFsUsage float64 + Traffic struct{ ... } + Uptime float64 + func NewStatistics(stats *data.Statistics, isOnline bool) *Statistics