map_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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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(cursor metrics.MapElementCursor) (map[string]interface{}, bool)

func (*Devices) GetDevicesStates

func (d *Devices) GetDevicesStates(client stream.IStreamClient, message stream.Message)

only on request: 'map.get.devices.states'

type MapElement added in v0.1.2

type MapElement struct {
	Id          int64       `json:"id"`
	StatusId    int64       `json:"status_id"`
	Options     interface{} `json:"options"`
	ElementName string      `json:"element_name"`
}

Jump to

Keyboard shortcuts

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