beehive: Index | Files

package pastebinbee

import ""

Package pastebinbee is a Bee that can interface with Pastebin.


Package Files

pastebinbee.go pastebinbeefactory.go

type PastebinBee Uses

type PastebinBee struct {
    // contains filtered or unexported fields

PastebinBee is a Bee that can interface with Pastebin.

func (*PastebinBee) Action Uses

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

Action triggers the action passed to it.

func (*PastebinBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*PastebinBee) Run Uses

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

Run executes the Bee's event loop.

type PastebinBeeFactory Uses

type PastebinBeeFactory struct {

PastebinBeeFactory is a factory for PastebinBees.

func (*PastebinBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*PastebinBeeFactory) Description Uses

func (factory *PastebinBeeFactory) Description() string

Description returns the description of this Bee.

func (*PastebinBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*PastebinBeeFactory) ID Uses

func (factory *PastebinBeeFactory) ID() string

ID returns the ID of this Bee.

func (*PastebinBeeFactory) Image Uses

func (factory *PastebinBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*PastebinBeeFactory) LogoColor Uses

func (factory *PastebinBeeFactory) LogoColor() string

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

func (*PastebinBeeFactory) Name Uses

func (factory *PastebinBeeFactory) Name() string

Name returns the name of this Bee.

func (*PastebinBeeFactory) New Uses

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

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

func (*PastebinBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package pastebinbee imports 2 packages (graph) and is imported by 12 packages. Updated 2017-02-21. Refresh now. Tools for package owners.