anelpowerctrlbee

package
v0.0.0-...-42619b2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package anelpowerctrlbee is a Bee for talking to Anel's PowerCtrl network power sockets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnelPowerCtrlBee

type AnelPowerCtrlBee struct {
	bees.Bee
	// contains filtered or unexported fields
}

AnelPowerCtrlBee is a Bee for talking to Anel's PowerCtrl network power sockets.

func (*AnelPowerCtrlBee) Action

func (mod *AnelPowerCtrlBee) Action(action bees.Action) []bees.Placeholder

Action triggers the action passed to it.

func (*AnelPowerCtrlBee) ReloadOptions

func (mod *AnelPowerCtrlBee) ReloadOptions(options bees.BeeOptions)

ReloadOptions parses the config options and initializes the Bee.

type AnelPowerCtrlBeeFactory

type AnelPowerCtrlBeeFactory struct {
	bees.BeeFactory
}

AnelPowerCtrlBeeFactory is a factory for AnelPowerCtrlBees.

func (*AnelPowerCtrlBeeFactory) Actions

func (factory *AnelPowerCtrlBeeFactory) Actions() []bees.ActionDescriptor

Actions describes the available actions provided by this Bee.

func (*AnelPowerCtrlBeeFactory) Description

func (factory *AnelPowerCtrlBeeFactory) Description() string

Description returns the description of this Bee.

func (*AnelPowerCtrlBeeFactory) ID

func (factory *AnelPowerCtrlBeeFactory) ID() string

ID returns the ID of this Bee.

func (*AnelPowerCtrlBeeFactory) Image

func (factory *AnelPowerCtrlBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*AnelPowerCtrlBeeFactory) LogoColor

func (factory *AnelPowerCtrlBeeFactory) LogoColor() string

LogoColor returns the preferred logo background color (used by the admin interface).

func (*AnelPowerCtrlBeeFactory) Name

func (factory *AnelPowerCtrlBeeFactory) Name() string

Name returns the name of this Bee.

func (*AnelPowerCtrlBeeFactory) New

func (factory *AnelPowerCtrlBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface

New returns a new Bee instance configured with the supplied options.

func (*AnelPowerCtrlBeeFactory) Options

func (factory *AnelPowerCtrlBeeFactory) Options() []bees.BeeOptionDescriptor

Options returns the options available to configure this Bee.

Jump to

Keyboard shortcuts

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