service

package
v0.0.0-...-417c523 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventRemove = "remove"
	EventUpdate = "update"
	EventAdd    = "add"

	LedElt    = "led"
	SensorElt = "sensor"
	BlindElt  = "blind"
	GroupElt  = "group"
	HvacElt   = "hvac"
	WagoElt   = "wago"
	NanoElt   = "nano"
	SwitchElt = "switch"
)
View Source
const (
	ActionReload = "reload"
	ActionSetup  = "setup"
	ActionDump   = "dump"
	ActionRemove = "remove"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreService

type CoreService struct {
	// contains filtered or unexported fields
}

CoreService content

func (*CoreService) Initialize

func (s *CoreService) Initialize(confFile string) error

Initialize service

func (*CoreService) Run

func (s *CoreService) Run() error

Run service mainloop

func (*CoreService) Stop

func (s *CoreService) Stop()

Stop service

Jump to

Keyboard shortcuts

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