beehive: Index | Files

package emailbee

import ""

Package emailbee is a Bee that is able to send emails.


Package Files

emailbee.go emailbeefactory.go

type EmailBee Uses

type EmailBee struct {
    // contains filtered or unexported fields

EmailBee is a Bee that is able to send emails.

func (*EmailBee) Action Uses

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

Action triggers the action passed to it.

func (*EmailBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

type EmailBeeFactory Uses

type EmailBeeFactory struct {

EmailBeeFactory is a factory for EmailBees.

func (*EmailBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*EmailBeeFactory) Description Uses

func (factory *EmailBeeFactory) Description() string

Description returns the description of this Bee.

func (*EmailBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*EmailBeeFactory) ID Uses

func (factory *EmailBeeFactory) ID() string

ID returns the ID of this Bee.

func (*EmailBeeFactory) Image Uses

func (factory *EmailBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*EmailBeeFactory) LogoColor Uses

func (factory *EmailBeeFactory) LogoColor() string

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

func (*EmailBeeFactory) Name Uses

func (factory *EmailBeeFactory) Name() string

Name returns the name of this Bee.

func (*EmailBeeFactory) New Uses

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

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

func (*EmailBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package emailbee imports 4 packages (graph) and is imported by 14 packages. Updated 2021-01-26. Refresh now. Tools for package owners.