autoevent

package
v0.0.3-reply Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 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