event

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataEmitted

type DataEmitted struct {
	Name    string
	Payload interface{}
}

func NewDataEmitted

func NewDataEmitted(sensorId string) *DataEmitted

func (*DataEmitted) GetDateTime

func (e *DataEmitted) GetDateTime() time.Time

func (*DataEmitted) GetName

func (e *DataEmitted) GetName() string

func (*DataEmitted) GetPayload

func (e *DataEmitted) GetPayload() interface{}

func (*DataEmitted) SetPayload

func (e *DataEmitted) SetPayload(payload interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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