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

package gitterbee

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

Package gitterbee is a Bee that can interface with Gitter

Package gitterbee is a Bee that can interface with Gitter

Index

Package Files

gitterbee.go gitterbeefactory.go

type GitterBee Uses

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

GitterBee is a Bee that can interface with Gitter

func (*GitterBee) Action Uses

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

Action triggers the actions passed to it.

func (*GitterBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*GitterBee) Run Uses

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

Run executes the Bee's event loop.

type GitterBeeFactory Uses

type GitterBeeFactory struct {
    bees.BeeFactory
}

GitterBeeFactory is a factory for GitterBees

func (*GitterBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*GitterBeeFactory) Description Uses

func (factory *GitterBeeFactory) Description() string

Description returns the desciption of this Bee.

func (*GitterBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*GitterBeeFactory) ID Uses

func (factory *GitterBeeFactory) ID() string

ID returns the ID of this Bee.

func (*GitterBeeFactory) Image Uses

func (factory *GitterBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*GitterBeeFactory) LogoColor Uses

func (factory *GitterBeeFactory) LogoColor() string

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

func (*GitterBeeFactory) Name Uses

func (factory *GitterBeeFactory) Name() string

Name returns the name of this Bee.

func (*GitterBeeFactory) New Uses

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

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

func (*GitterBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package gitterbee imports 3 packages (graph) and is imported by 7 packages. Updated 2019-05-28. Refresh now. Tools for package owners.