controller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 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 added in v1.0.0

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 added in v1.0.0

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