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

package gotifybee

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

Package gotifybee is able to send notifications on Gotify.

Package gotifybee is able to send notifications on Gotify.

Index

Package Files

gotifybee.go gotifybeefactory.go

type GotifyBee Uses

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

GotifyBee is a Bee that is able to send notifications on Gotify.

func (*GotifyBee) Action Uses

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

Action triggers the action passed to it.

func (*GotifyBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

type GotifyBeeFactory Uses

type GotifyBeeFactory struct {
    bees.BeeFactory
}

GotifyBeeFactory is a factory for GotifyBees.

func (*GotifyBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*GotifyBeeFactory) Description Uses

func (factory *GotifyBeeFactory) Description() string

Description returns the description of this Bee.

func (*GotifyBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*GotifyBeeFactory) ID Uses

func (factory *GotifyBeeFactory) ID() string

ID returns the ID of this Bee.

func (*GotifyBeeFactory) Image Uses

func (factory *GotifyBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*GotifyBeeFactory) LogoColor Uses

func (factory *GotifyBeeFactory) LogoColor() string

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

func (*GotifyBeeFactory) Name Uses

func (factory *GotifyBeeFactory) Name() string

Name returns the name of this Bee.

func (*GotifyBeeFactory) New Uses

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

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

func (*GotifyBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package gotifybee imports 4 packages (graph) and is imported by 1 packages. Updated 2020-11-06. Refresh now. Tools for package owners.