Documentation ¶
Overview ¶
Package hellobee is an example for a Bee skeleton, designed to help you get started with writing your own Bees.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloBee ¶
HelloBee is an example for a Bee skeleton, designed to help you get started with writing your own Bees.
func (*HelloBee) Action ¶
func (mod *HelloBee) Action(action bees.Action) []bees.Placeholder
Action triggers the action passed to it.
func (*HelloBee) ReloadOptions ¶
func (mod *HelloBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
type HelloBeeFactory ¶
type HelloBeeFactory struct {
bees.BeeFactory
}
HelloBeeFactory is a factory for HelloBees.
func (*HelloBeeFactory) Description ¶
func (factory *HelloBeeFactory) Description() string
Description returns the description of this Bee.
func (*HelloBeeFactory) ID ¶
func (factory *HelloBeeFactory) ID() string
ID returns the ID of this Bee.
func (*HelloBeeFactory) Name ¶
func (factory *HelloBeeFactory) Name() string
Name returns the name of this Bee.
func (*HelloBeeFactory) New ¶
func (factory *HelloBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
New returns a new Bee instance configured with the supplied options.
Click to show internal directories.
Click to hide internal directories.