datalogger

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataLogger

type DataLogger struct {
	LogDir string
	Logger []loggerT
	// contains filtered or unexported fields
}

The DataLogger type encapsulates the Data Logging Integration

func (*DataLogger) LoadConfig

func (d *DataLogger) LoadConfig(confdir string) error

LoadConfig loads and stores the configuration for this Integration

func (*DataLogger) Start

func (d *DataLogger) Start(mq *mqtt.MQTT)

Start launches the Integration, LoadConfig() should have been called beforehand.

func (*DataLogger) Stop

func (d *DataLogger) 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