Documentation ¶
Overview ¶
Package jabberbee is a Bee that can connect to a Jabber/XMPP server.
Index ¶
- type JabberBee
- type JabberBeeFactory
- func (factory *JabberBeeFactory) Actions() []bees.ActionDescriptor
- func (factory *JabberBeeFactory) Description() string
- func (factory *JabberBeeFactory) Events() []bees.EventDescriptor
- func (factory *JabberBeeFactory) ID() string
- func (factory *JabberBeeFactory) Image() string
- func (factory *JabberBeeFactory) LogoColor() string
- func (factory *JabberBeeFactory) Name() string
- func (factory *JabberBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
- func (factory *JabberBeeFactory) Options() []bees.BeeOptionDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JabberBee ¶
JabberBee is a Bee that can connect to a Jabber/XMPP server.
func (*JabberBee) Action ¶
func (mod *JabberBee) Action(action bees.Action) []bees.Placeholder
Action triggers the action passed to it.
func (*JabberBee) ReloadOptions ¶
func (mod *JabberBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
type JabberBeeFactory ¶
type JabberBeeFactory struct {
bees.BeeFactory
}
JabberBeeFactory is a factory for JabberBees.
func (*JabberBeeFactory) Actions ¶
func (factory *JabberBeeFactory) Actions() []bees.ActionDescriptor
Actions describes the available actions provided by this Bee.
func (*JabberBeeFactory) Description ¶
func (factory *JabberBeeFactory) Description() string
Description returns the description of this Bee.
func (*JabberBeeFactory) Events ¶
func (factory *JabberBeeFactory) Events() []bees.EventDescriptor
Events describes the available events provided by this Bee.
func (*JabberBeeFactory) ID ¶
func (factory *JabberBeeFactory) ID() string
ID returns the ID of this Bee.
func (*JabberBeeFactory) Image ¶
func (factory *JabberBeeFactory) Image() string
Image returns the filename of an image for this Bee.
func (*JabberBeeFactory) LogoColor ¶
func (factory *JabberBeeFactory) LogoColor() string
LogoColor returns the preferred logo background color (used by the admin interface).
func (*JabberBeeFactory) Name ¶
func (factory *JabberBeeFactory) Name() string
Name returns the name of this Bee.
func (*JabberBeeFactory) New ¶
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 ¶
func (factory *JabberBeeFactory) Options() []bees.BeeOptionDescriptor
Options returns the options available to configure this Bee.