spaceapibee

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: AGPL-3.0 Imports: 4 Imported by: 4

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpaceAPIBee

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

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.

Jump to

Keyboard shortcuts

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