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

package pushoverbee

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

Package pushoverbee is a Bee that can send pushover notifications.

Package pushoverbee is a Bee that can send pushover notifications.

Index

Package Files

pushoverbee.go pushoverbeefactory.go

type PushoverBee Uses

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

PushoverBee is a Bee that sends Pushover notifications

func (*PushoverBee) Action Uses

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

Action triggers the action passed to it.

func (*PushoverBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*PushoverBee) Run Uses

func (mod *PushoverBee) Run(cin chan bees.Event)

Run executes the Bee's event loop.

type PushoverBeeFactory Uses

type PushoverBeeFactory struct {
    bees.BeeFactory
}

PushoverBeeFactory is a factory for PushoverBees.

func (*PushoverBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*PushoverBeeFactory) Description Uses

func (factory *PushoverBeeFactory) Description() string

Description returns the description of this Bee.

func (*PushoverBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*PushoverBeeFactory) ID Uses

func (factory *PushoverBeeFactory) ID() string

ID returns the ID of this Bee.

func (*PushoverBeeFactory) Image Uses

func (factory *PushoverBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*PushoverBeeFactory) LogoColor Uses

func (factory *PushoverBeeFactory) LogoColor() string

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

func (*PushoverBeeFactory) Name Uses

func (factory *PushoverBeeFactory) Name() string

Name returns the name of this Bee.

func (*PushoverBeeFactory) New Uses

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

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

func (*PushoverBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package pushoverbee imports 3 packages (graph) and is imported by 7 packages. Updated 2019-10-27. Refresh now. Tools for package owners.