ratgdo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(config map[string]interface{}) (mqttGdo.MqttGdo, error)

this is just a wrapper for the mqtt package with some predefined settings for ratgdo

func NewRatgdo

func NewRatgdo(config map[string]interface{}) (mqttGdo.MqttGdo, error)

Types

type Ratgdo

type Ratgdo struct {
	MqttSettings struct {
		TopicPrefix string `yaml:"topic_prefix"`
	} `yaml:"mqtt_settings"`
}

stubbed mqtt struct to extract the topic prefix from the yaml to pass into what is expected by mqttGdo

Jump to

Keyboard shortcuts

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