beehive: Index | Files

package tumblrbee

import ""

Package tumblrbee is a Bee that can post blogs & quotes on Tumblr.


Package Files

tumblrbee.go tumblrbeefactory.go

type TumblrBee Uses

type TumblrBee struct {
    // contains filtered or unexported fields

TumblrBee is a Bee that can post blogs & quotes on Tumblr.

func (*TumblrBee) Action Uses

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

Action triggers the action passed to it.

func (*TumblrBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*TumblrBee) Run Uses

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

Run executes the Bee's event loop.

type TumblrBeeFactory Uses

type TumblrBeeFactory struct {

TumblrBeeFactory is a factory for TumblrBees.

func (*TumblrBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*TumblrBeeFactory) Description Uses

func (factory *TumblrBeeFactory) Description() string

Description returns the description of this Bee.

func (*TumblrBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*TumblrBeeFactory) ID Uses

func (factory *TumblrBeeFactory) ID() string

ID returns the ID of this Bee.

func (*TumblrBeeFactory) Image Uses

func (factory *TumblrBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*TumblrBeeFactory) LogoColor Uses

func (factory *TumblrBeeFactory) LogoColor() string

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

func (*TumblrBeeFactory) Name Uses

func (factory *TumblrBeeFactory) Name() string

Name returns the name of this Bee.

func (*TumblrBeeFactory) New Uses

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

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

func (*TumblrBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package tumblrbee imports 2 packages (graph) and is imported by 14 packages. Updated 2017-03-13. Refresh now. Tools for package owners.