controller

package
v0.0.0-...-2d43aa0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MapperTopicPrefix              = "$ke/device/bluetooth-mapper/"
	WatcherTopicSuffix             = "/watcher/create"
	SchedulerCreateTopicSuffix     = "/scheduler/create"
	SchedulerDeleteTopicSuffix     = "/scheduler/delete"
	ActionManagerCreateTopicSuffix = "/action-manager/create"
	ActionManagerDeleteTopicSuffix = "/action-manager/delete"
)

constants which can be used to convey topic information

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Mqtt          configuration.Mqtt          `yaml:"mqtt"`
	Device        configuration.Device        `yaml:"device"`
	Watcher       watcher.Watcher             `yaml:"watcher"`
	Scheduler     scheduler.Scheduler         `yaml:"scheduler"`
	ActionManager actionmanager.ActionManager `yaml:"action-manager"`
	Converter     dataconverter.Converter     `yaml:"data-converter"`
}

Config contains the configuration used by the controller

func (*Config) Start

func (c *Config) Start()

Start starts the controller of the mapper

Jump to

Keyboard shortcuts

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