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

package cricketbee

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

Index

Package Files

cricketbee.go cricketbeefactory.go

type CricketBee Uses

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

func (*CricketBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*CricketBee) Run Uses

func (c *CricketBee) Run(cin chan bees.Event)

type CricketBeeFactory Uses

type CricketBeeFactory struct {
    bees.BeeFactory
}

Cricketbeefactory is a factory for CricketBee.

func (*CricketBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*CricketBeeFactory) Description Uses

func (factory *CricketBeeFactory) Description() string

Description returns the description of this Bee.

func (*CricketBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*CricketBeeFactory) ID Uses

func (factory *CricketBeeFactory) ID() string

ID returns the ID of this Bee.

func (*CricketBeeFactory) Image Uses

func (factory *CricketBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*CricketBeeFactory) LogoColor Uses

func (factory *CricketBeeFactory) LogoColor() string

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

func (*CricketBeeFactory) Name Uses

func (factory *CricketBeeFactory) Name() string

Name returns the name of this Bee.

func (*CricketBeeFactory) New Uses

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

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

func (*CricketBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package cricketbee imports 2 packages (graph) and is imported by 8 packages. Updated 2020-07-29. Refresh now. Tools for package owners.