mqtt

package
v0.0.0-...-dc3cfdc Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	User     string `yaml:"user"`
	Password string `yaml:"password"`
}

type MappingConfig

type MappingConfig struct {
	Key   string  `yaml:"key"`
	Path  string  `yaml:"path"`
	Scale float64 `yaml:"scale"`
	Round bool    `yaml:"round"`
}

type MqttConfig

type MqttConfig struct {
	Url     string          `yaml:"url"`
	Host    string          `yaml:"host"`
	Port    int             `yaml:"port"`
	Topic   string          `yaml:"topic"`
	Auth    AuthConfig      `yaml:"auth"`
	Mapping []MappingConfig `yaml:"mapping"`
}

Jump to

Keyboard shortcuts

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