Documentation ¶
Overview ¶
Package spaceapibee is a Bee that can query a spaceapi server.
Index ¶
- type SpaceAPIBee
- type SpaceAPIBeeFactory
- func (factory *SpaceAPIBeeFactory) Actions() []bees.ActionDescriptor
- func (factory *SpaceAPIBeeFactory) Description() string
- func (factory *SpaceAPIBeeFactory) Events() []bees.EventDescriptor
- func (factory *SpaceAPIBeeFactory) ID() string
- func (factory *SpaceAPIBeeFactory) Image() string
- func (factory *SpaceAPIBeeFactory) LogoColor() string
- func (factory *SpaceAPIBeeFactory) Name() string
- func (factory *SpaceAPIBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
- func (factory *SpaceAPIBeeFactory) Options() []bees.BeeOptionDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpaceAPIBee ¶
SpaceAPIBee is a Bee that can query a spaceapi server.
func (*SpaceAPIBee) Action ¶
func (mod *SpaceAPIBee) Action(action bees.Action) []bees.Placeholder
Action triggers the action passed to it.
func (*SpaceAPIBee) ReloadOptions ¶
func (mod *SpaceAPIBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
func (*SpaceAPIBee) Run ¶
func (mod *SpaceAPIBee) Run(eventChan chan bees.Event)
Run executes the Bee's event loop.
type SpaceAPIBeeFactory ¶
type SpaceAPIBeeFactory struct {
bees.BeeFactory
}
SpaceAPIBeeFactory is a factory for SpaceAPIBees.
func (*SpaceAPIBeeFactory) Actions ¶
func (factory *SpaceAPIBeeFactory) Actions() []bees.ActionDescriptor
Actions describes the available actions provided by this Bee.
func (*SpaceAPIBeeFactory) Description ¶
func (factory *SpaceAPIBeeFactory) Description() string
Description returns the description of this Bee.
func (*SpaceAPIBeeFactory) Events ¶
func (factory *SpaceAPIBeeFactory) Events() []bees.EventDescriptor
Events describes the available events provided by this Bee.
func (*SpaceAPIBeeFactory) ID ¶
func (factory *SpaceAPIBeeFactory) ID() string
ID returns the ID of this Bee.
func (*SpaceAPIBeeFactory) Image ¶
func (factory *SpaceAPIBeeFactory) Image() string
Image returns the filename of an image for this Bee.
func (*SpaceAPIBeeFactory) LogoColor ¶
func (factory *SpaceAPIBeeFactory) LogoColor() string
LogoColor returns the preferred logo background color (used by the admin interface).
func (*SpaceAPIBeeFactory) Name ¶
func (factory *SpaceAPIBeeFactory) Name() string
Name returns the name of this Bee.
func (*SpaceAPIBeeFactory) New ¶
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 ¶
func (factory *SpaceAPIBeeFactory) Options() []bees.BeeOptionDescriptor
Options returns the options available to configure this Bee.