beehive: Index | Files

package twiliobee

import ""

Package twiliobee is a Bee that is able to send SMS messages.


Package Files

twiliobee.go twiliobeefactory.go

type TwilioBee Uses

type TwilioBee struct {
    // contains filtered or unexported fields

TwilioBee is a Bee that is able to send SMS messages.

func (*TwilioBee) Action Uses

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

Action triggers the action passed to it.

func (*TwilioBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*TwilioBee) Run Uses

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

Run executes the Bee's event loop.

type TwilioBeeFactory Uses

type TwilioBeeFactory struct {

TwilioBeeFactory is a factory for TwilioBees.

func (*TwilioBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*TwilioBeeFactory) Description Uses

func (factory *TwilioBeeFactory) Description() string

Description returns the description of this Bee.

func (*TwilioBeeFactory) ID Uses

func (factory *TwilioBeeFactory) ID() string

ID returns the ID of this Bee.

func (*TwilioBeeFactory) Image Uses

func (factory *TwilioBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*TwilioBeeFactory) LogoColor Uses

func (factory *TwilioBeeFactory) LogoColor() string

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

func (*TwilioBeeFactory) Name Uses

func (factory *TwilioBeeFactory) Name() string

Name returns the name of this Bee.

func (*TwilioBeeFactory) New Uses

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

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

func (*TwilioBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package twiliobee imports 2 packages (graph) and is imported by 12 packages. Updated 2017-03-09. Refresh now. Tools for package owners.