autoevent

package
v1.2.0-dev.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	Run()
	Stop()
}

func NewExecutor

func NewExecutor(deviceName string, ae contract.AutoEvent) (Executor, error)

NewExecutor creates an Executor for an AutoEvent

type Manager

type Manager interface {
	StartAutoEvents()
	StopAutoEvents()
	RestartForDevice(deviceName string)
	StopForDevice(deviceName string)
}

func GetManager

func GetManager() Manager

GetManager initiates the AutoEvent manager once and returns its instance

Jump to

Keyboard shortcuts

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