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

package twitterbee

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

Package twitterbee is a Bee that can interface with Twitter.

Index

Package Files

twitterbee.go twitterbeefactory.go

type TwitterBee Uses

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

TwitterBee is a Bee that can interface with Twitter.

func (*TwitterBee) Action Uses

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

Action triggers the action passed to it.

func (*TwitterBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*TwitterBee) Run Uses

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

Run executes the Bee's event loop.

type TwitterBeeFactory Uses

type TwitterBeeFactory struct {
    bees.BeeFactory
}

TwitterBeeFactory is a factory for TwitterBees.

func (*TwitterBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*TwitterBeeFactory) Description Uses

func (factory *TwitterBeeFactory) Description() string

Description returns the description of this Bee.

func (*TwitterBeeFactory) ID Uses

func (factory *TwitterBeeFactory) ID() string

ID returns the ID of this Bee.

func (*TwitterBeeFactory) Image Uses

func (factory *TwitterBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*TwitterBeeFactory) LogoColor Uses

func (factory *TwitterBeeFactory) LogoColor() string

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

func (*TwitterBeeFactory) Name Uses

func (factory *TwitterBeeFactory) Name() string

Name returns the name of this Bee.

func (*TwitterBeeFactory) New Uses

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

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

func (*TwitterBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package twitterbee imports 4 packages (graph) and is imported by 14 packages. Updated 2020-11-04. Refresh now. Tools for package owners.