beehive: github.com/muesli/beehive/bees/spaceapibee Index | Files

package spaceapibee

import "github.com/muesli/beehive/bees/spaceapibee"

Package spaceapibee is a Bee that can query a spaceapi server.

Index

Package Files

spaceapibee.go spaceapibeefactory.go

type SpaceAPIBee Uses

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

SpaceAPIBee is a Bee that can query a spaceapi server.

func (*SpaceAPIBee) Action Uses

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

Action triggers the action passed to it.

func (*SpaceAPIBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*SpaceAPIBee) Run Uses

func (mod *SpaceAPIBee) Run(eventChan chan bees.Event)

Run executes the Bee's event loop.

type SpaceAPIBeeFactory Uses

type SpaceAPIBeeFactory struct {
    bees.BeeFactory
}

SpaceAPIBeeFactory is a factory for SpaceAPIBees.

func (*SpaceAPIBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*SpaceAPIBeeFactory) Description Uses

func (factory *SpaceAPIBeeFactory) Description() string

Description returns the description of this Bee.

func (*SpaceAPIBeeFactory) Events Uses

func (factory *SpaceAPIBeeFactory) Events() []bees.EventDescriptor

Events describes the available events provided by this Bee.

func (*SpaceAPIBeeFactory) ID Uses

func (factory *SpaceAPIBeeFactory) ID() string

ID returns the ID of this Bee.

func (*SpaceAPIBeeFactory) Image Uses

func (factory *SpaceAPIBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*SpaceAPIBeeFactory) LogoColor Uses

func (factory *SpaceAPIBeeFactory) LogoColor() string

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

func (*SpaceAPIBeeFactory) Name Uses

func (factory *SpaceAPIBeeFactory) Name() string

Name returns the name of this Bee.

func (*SpaceAPIBeeFactory) New Uses

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

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

func (*SpaceAPIBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

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