beehive: Index | Files

package anelpowerctrlbee

import ""

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


Package Files

anelpowerctrlbee.go anelpowerctrlbeefactory.go

type AnelPowerCtrlBee Uses

type AnelPowerCtrlBee struct {
    // contains filtered or unexported fields

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

func (*AnelPowerCtrlBee) Action Uses

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

Action triggers the action passed to it.

func (*AnelPowerCtrlBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

type AnelPowerCtrlBeeFactory Uses

type AnelPowerCtrlBeeFactory struct {

AnelPowerCtrlBeeFactory is a factory for AnelPowerCtrlBees.

func (*AnelPowerCtrlBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*AnelPowerCtrlBeeFactory) Description Uses

func (factory *AnelPowerCtrlBeeFactory) Description() string

Description returns the description of this Bee.

func (*AnelPowerCtrlBeeFactory) ID Uses

func (factory *AnelPowerCtrlBeeFactory) ID() string

ID returns the ID of this Bee.

func (*AnelPowerCtrlBeeFactory) Image Uses

func (factory *AnelPowerCtrlBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*AnelPowerCtrlBeeFactory) LogoColor Uses

func (factory *AnelPowerCtrlBeeFactory) LogoColor() string

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

func (*AnelPowerCtrlBeeFactory) Name Uses

func (factory *AnelPowerCtrlBeeFactory) Name() string

Name returns the name of this Bee.

func (*AnelPowerCtrlBeeFactory) New Uses

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 Uses

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

Options returns the options available to configure this Bee.

Package anelpowerctrlbee imports 4 packages (graph) and is imported by 14 packages. Updated 2017-03-06. Refresh now. Tools for package owners.