telemetry

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTelemetry

func NewTelemetry() (t2 *Telemetry, t1 ITelemetry)

Types

type Device added in v0.0.25

type Device struct {
	Id          int64
	ElementName string
}

type ITelemetry added in v0.0.9

type ITelemetry interface {
	Broadcast(interface{})
	BroadcastOne(interface{})
}

type Node added in v0.0.25

type Node struct{}

type Telemetry

type Telemetry struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Telemetry) Broadcast

func (t *Telemetry) Broadcast(param interface{})

func (*Telemetry) BroadcastOne

func (t *Telemetry) BroadcastOne(param interface{})

func (*Telemetry) Subscribe added in v0.0.9

func (s *Telemetry) Subscribe(command string, f ITelemetry)

func (*Telemetry) UnSubscribe added in v0.0.9

func (s *Telemetry) UnSubscribe(command string)

type WorkflowScenario added in v0.0.25

type WorkflowScenario struct {
	WorkflowId int64
	ScenarioId int64
}

Jump to

Keyboard shortcuts

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