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

package timebee

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

Package timebee is a Bee that can fire events at a specific time.

Index

Package Files

timebee.go timebeefactory.go

type TimeBee Uses

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

TimeBee is a Bee that can fire events at a specific time.

func (*TimeBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*TimeBee) Run Uses

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

Run executes the Bee's event loop.

type TimeBeeFactory Uses

type TimeBeeFactory struct {
    bees.BeeFactory
}

TimeBeeFactory is a factory for TimeBees.

func (*TimeBeeFactory) Description Uses

func (factory *TimeBeeFactory) Description() string

Description returns the description of this Bee.

func (*TimeBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*TimeBeeFactory) ID Uses

func (factory *TimeBeeFactory) ID() string

ID returns the ID of this Bee.

func (*TimeBeeFactory) Image Uses

func (factory *TimeBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*TimeBeeFactory) LogoColor Uses

func (factory *TimeBeeFactory) LogoColor() string

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

func (*TimeBeeFactory) Name Uses

func (factory *TimeBeeFactory) Name() string

Name returns the name of this Bee.

func (*TimeBeeFactory) New Uses

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

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

func (*TimeBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package timebee imports 2 packages (graph) and is imported by 14 packages. Updated 2017-02-23. Refresh now. Tools for package owners.