dashboard_models

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppMemory added in v0.0.25

type AppMemory struct {
	// contains filtered or unexported fields
}

func NewAppMemory added in v0.1.2

func NewAppMemory(metric *metrics.MetricManager) (memory *AppMemory)

func (*AppMemory) Broadcast added in v0.1.2

func (g *AppMemory) Broadcast() (map[string]interface{}, bool)

type Cpu

type Cpu struct {
	// contains filtered or unexported fields
}

func NewCpu

func NewCpu(metric *metrics.MetricManager) (node *Cpu)

func (*Cpu) Broadcast added in v0.1.2

func (g *Cpu) Broadcast() (map[string]interface{}, bool)

type Devices

type Devices struct {
	// contains filtered or unexported fields
}

func NewDevices

func NewDevices(metric *metrics.MetricManager) *Devices

func (*Devices) Broadcast

func (d *Devices) Broadcast() (map[string]interface{}, bool)

type Disk

type Disk struct {
	// contains filtered or unexported fields
}

func NewDisk

func NewDisk(metric *metrics.MetricManager) (memory *Disk)

func (*Disk) Broadcast added in v0.1.2

func (g *Disk) Broadcast() (map[string]interface{}, bool)

type Flow

type Flow struct {
	// contains filtered or unexported fields
}

func NewFlow added in v0.1.2

func NewFlow(metric *metrics.MetricManager) (node *Flow)

func (*Flow) Broadcast added in v0.1.2

func (g *Flow) Broadcast() (map[string]interface{}, bool)

type Gate

type Gate struct {
	// contains filtered or unexported fields
}

func NewGate

func NewGate(metric *metrics.MetricManager) (node *Gate)

func (*Gate) Broadcast

func (g *Gate) Broadcast() (map[string]interface{}, bool)

func (*Gate) Status added in v0.0.12

func (t *Gate) Status(client stream.IStreamClient, message stream.Message)

only on request: 'dashboard.get.gate.status'

type History added in v0.2.0

type History struct {
	// contains filtered or unexported fields
}

func NewHistory added in v0.2.0

func NewHistory(metric *metrics.MetricManager) (memory *History)

func (*History) Broadcast added in v0.2.0

func (g *History) Broadcast() (map[string]interface{}, bool)

type Memory

type Memory struct {
	// contains filtered or unexported fields
}

func NewMemory added in v0.1.2

func NewMemory(metric *metrics.MetricManager) (memory *Memory)

func (*Memory) Broadcast added in v0.1.2

func (g *Memory) Broadcast() (map[string]interface{}, bool)

type Mqtt added in v0.1.2

type Mqtt struct {
	// contains filtered or unexported fields
}

func NewMqtt added in v0.1.2

func NewMqtt(metric *metrics.MetricManager) (memory *Mqtt)

func (*Mqtt) Broadcast added in v0.1.2

func (g *Mqtt) Broadcast() (map[string]interface{}, bool)

type Nodes

type Nodes struct {
	// contains filtered or unexported fields
}

func NewNode

func NewNode(metric *metrics.MetricManager) (node *Nodes)

func (*Nodes) Broadcast

func (n *Nodes) Broadcast() (map[string]interface{}, bool)

func (*Nodes) NodesStatus

func (n *Nodes) NodesStatus(client stream.IStreamClient, message stream.Message)

only on request: 'dashboard.get.nodes.status'

type Uptime

type Uptime struct {
	// contains filtered or unexported fields
}

func NewUptime added in v0.1.2

func NewUptime(metric *metrics.MetricManager) (memory *Uptime)

func (*Uptime) Broadcast added in v0.1.2

func (g *Uptime) Broadcast() (map[string]interface{}, bool)

type Workflow added in v0.0.25

type Workflow struct {
	// contains filtered or unexported fields
}

func NewWorkflow added in v0.0.25

func NewWorkflow(metric *metrics.MetricManager) *Workflow

func (*Workflow) Broadcast added in v0.0.25

func (w *Workflow) Broadcast() (map[string]interface{}, bool)

status all workflows

type Zigbee2Mqtt added in v0.2.0

type Zigbee2Mqtt struct {
	// contains filtered or unexported fields
}

func NewZigbee2Mqtt added in v0.2.0

func NewZigbee2Mqtt(metric *metrics.MetricManager) (memory *Zigbee2Mqtt)

func (*Zigbee2Mqtt) Broadcast added in v0.2.0

func (g *Zigbee2Mqtt) Broadcast() (map[string]interface{}, bool)

Jump to

Keyboard shortcuts

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