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