time

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Time

type Time struct {
	Latitude, Longitude float64
	Alert               []timeEventT `toml:"Event"`
	// contains filtered or unexported fields
}

The Time Integration produces time-based events for other Integrations to use.

func (*Time) LoadConfig

func (t *Time) LoadConfig(confdir string) error

LoadConfig is required to satisfy the Integration interface.

func (*Time) Start

func (t *Time) Start(mq *mqtt.MQTT)

Start any services this Integration provides.

func (*Time) Stop

func (t *Time) Stop()

Stop terminates the Integration and all Goroutines it contains

Jump to

Keyboard shortcuts

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