application

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	MQTT    *agent.Agent
	Cfg     config.Config
	Devices config.DeviceConfig
}

Application holds commonly used app wide data, for ease of use

func Get

func Get() (*Application, error)

Get captures env vars, establishes broker connection and keeps/returns

Jump to

Keyboard shortcuts

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