Documentation ¶
Overview ¶
Package simplepushbee is a Bee that is able to send push notifications to Android.
Index ¶
- type SimplepushBee
- type SimplepushBeeFactory
- func (factory *SimplepushBeeFactory) Actions() []bees.ActionDescriptor
- func (factory *SimplepushBeeFactory) Description() string
- func (factory *SimplepushBeeFactory) Events() []bees.EventDescriptor
- func (factory *SimplepushBeeFactory) ID() string
- func (factory *SimplepushBeeFactory) Image() string
- func (factory *SimplepushBeeFactory) LogoColor() string
- func (factory *SimplepushBeeFactory) Name() string
- func (factory *SimplepushBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
- func (factory *SimplepushBeeFactory) Options() []bees.BeeOptionDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimplepushBee ¶
SimplepushBee is a Bee that is able to send push notifications to Android.
func (*SimplepushBee) Action ¶
func (mod *SimplepushBee) Action(action bees.Action) []bees.Placeholder
Action triggers the action passed to it.
func (*SimplepushBee) ReloadOptions ¶
func (mod *SimplepushBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
type SimplepushBeeFactory ¶
type SimplepushBeeFactory struct {
bees.BeeFactory
}
SimplepushBeeFactory is a factory for SimplepushBees.
func (*SimplepushBeeFactory) Actions ¶
func (factory *SimplepushBeeFactory) Actions() []bees.ActionDescriptor
Actions describes the available actions provided by this Bee.
func (*SimplepushBeeFactory) Description ¶
func (factory *SimplepushBeeFactory) Description() string
Description returns the description of this Bee.
func (*SimplepushBeeFactory) Events ¶
func (factory *SimplepushBeeFactory) Events() []bees.EventDescriptor
Events describes the available events provided by this Bee.
func (*SimplepushBeeFactory) ID ¶
func (factory *SimplepushBeeFactory) ID() string
ID returns the ID of this Bee.
func (*SimplepushBeeFactory) Image ¶
func (factory *SimplepushBeeFactory) Image() string
Image returns the filename of an image for this Bee.
func (*SimplepushBeeFactory) LogoColor ¶
func (factory *SimplepushBeeFactory) LogoColor() string
LogoColor returns the preferred logo background color (used by the admin interface).
func (*SimplepushBeeFactory) Name ¶
func (factory *SimplepushBeeFactory) Name() string
Name returns the name of this Bee.
func (*SimplepushBeeFactory) New ¶
func (factory *SimplepushBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
New returns a new Bee instance configured with the supplied options.
func (*SimplepushBeeFactory) Options ¶
func (factory *SimplepushBeeFactory) Options() []bees.BeeOptionDescriptor
Options returns the options available to configure this Bee.