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

package jabberbee

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

Package jabberbee is a Bee that can connect to a Jabber/XMPP server.

Index

Package Files

jabberbee.go jabberbeefactory.go

type JabberBee Uses

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

JabberBee is a Bee that can connect to a Jabber/XMPP server.

func (*JabberBee) Action Uses

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

Action triggers the action passed to it.

func (*JabberBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*JabberBee) Run Uses

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

Run executes the Bee's event loop.

type JabberBeeFactory Uses

type JabberBeeFactory struct {
    bees.BeeFactory
}

JabberBeeFactory is a factory for JabberBees.

func (*JabberBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*JabberBeeFactory) Description Uses

func (factory *JabberBeeFactory) Description() string

Description returns the description of this Bee.

func (*JabberBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*JabberBeeFactory) ID Uses

func (factory *JabberBeeFactory) ID() string

ID returns the ID of this Bee.

func (*JabberBeeFactory) Image Uses

func (factory *JabberBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*JabberBeeFactory) LogoColor Uses

func (factory *JabberBeeFactory) LogoColor() string

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

func (*JabberBeeFactory) Name Uses

func (factory *JabberBeeFactory) Name() string

Name returns the name of this Bee.

func (*JabberBeeFactory) New Uses

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

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

func (*JabberBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package jabberbee imports 3 packages (graph) and is imported by 14 packages. Updated 2017-03-06. Refresh now. Tools for package owners.