Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cpu ¶
type Cpu struct { Cpuinfo *Processors `json:"processors"` All float64 `json:"all"` Usage map[int]float64 `json:"usage"` // contains filtered or unexported fields }
type Devices ¶
type Devices struct { Total int64 `json:"total"` Status map[int64]*m.DashboardDeviceState `json:"status"` // contains filtered or unexported fields }
func (*Devices) BroadcastOne ¶
type Gate ¶
type Gate struct { Status string `json:"status"` AccessToken string `json:"-"` // contains filtered or unexported fields }
func NewGate ¶
func NewGate(gate *gate_client.GateClient) *Gate
func (*Gate) GatesStatus ¶
only on request: 'dashboard.get.gate.status'
type Memory ¶
type Nodes ¶
type Nodes struct { sync.Mutex Total int64 `json:"total"` Status map[int64]string `json:"status"` // contains filtered or unexported fields }
func (*Nodes) NodesStatus ¶
only on request: 'dashboard.get.nodes.status'
type Processors ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.