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

package devrantbee

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

Package devrantbee is a Bee that can post blogs & quotes on Devrant.

Index

Package Files

devrantbee.go devrantbeefactory.go

type DevrantBee Uses

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

DevrantBee is a Bee that can post blogs & quotes on Devrant.

func (*DevrantBee) Action Uses

func (mod *DevrantBee) Action(action bees.Action) []bees.Placeholder

Action triggers the action passed to it.

func (*DevrantBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*DevrantBee) Run Uses

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

Run executes the Bee's event loop.

type DevrantBeeFactory Uses

type DevrantBeeFactory struct {
    bees.BeeFactory
}

DevrantBeeFactory is a factory for DevrantBees.

func (*DevrantBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*DevrantBeeFactory) Description Uses

func (factory *DevrantBeeFactory) Description() string

Description returns the description of this Bee.

func (*DevrantBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*DevrantBeeFactory) ID Uses

func (factory *DevrantBeeFactory) ID() string

ID returns the ID of this Bee.

func (*DevrantBeeFactory) Image Uses

func (factory *DevrantBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*DevrantBeeFactory) LogoColor Uses

func (factory *DevrantBeeFactory) LogoColor() string

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

func (*DevrantBeeFactory) Name Uses

func (factory *DevrantBeeFactory) Name() string

Name returns the name of this Bee.

func (*DevrantBeeFactory) New Uses

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

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

Package devrantbee imports 2 packages (graph) and is imported by 7 packages. Updated 2017-04-17. Refresh now. Tools for package owners.