handlers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UnsupportedConfigurationPhaseError = errors.New("unsupported_configuration_phase")
)

Functions

This section is empty.

Types

type ConfigHandler

type ConfigHandler struct {
}

func NewConfigHandler

func NewConfigHandler() *ConfigHandler

func (*ConfigHandler) Handler

func (h *ConfigHandler) Handler() smartappcore.Handler

type DeviceCommandsHandler

type DeviceCommandsHandler struct {
	Api smartappcore.SmartThingsApi
}

func (*DeviceCommandsHandler) Handle

func (*DeviceCommandsHandler) Test

func (h *DeviceCommandsHandler) Test(event *smartapp.Event) bool

type EventHandler

type EventHandler struct {
	Api smartappcore.SmartThingsApi
}

func NewEventHandler

func NewEventHandler(api smartappcore.SmartThingsApi) *EventHandler

func (*EventHandler) Handler

func (h *EventHandler) Handler() smartappcore.Handler

type InstallHandler

type InstallHandler struct {
	Api smartappcore.SmartThingsApi
}

func NewInstallHandler

func NewInstallHandler(api smartappcore.SmartThingsApi) *InstallHandler

func (*InstallHandler) Handler

func (h *InstallHandler) Handler() smartappcore.Handler

Jump to

Keyboard shortcuts

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