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

package emailserverbee

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

Index

Package Files

emailserverbee.go emailserverbeefactory.go

type EmailServerBee Uses

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

EmailServerBee is a Bee that starts an SMTP server and fires events for incoming Emails.

func (*EmailServerBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*EmailServerBee) Run Uses

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

Run executes the Bee's event loop.

type EmailServerBeeFactory Uses

type EmailServerBeeFactory struct {
    bees.BeeFactory
}

EmailServerBeeFactory is a factory for EmailServerBees.

func (*EmailServerBeeFactory) Description Uses

func (factory *EmailServerBeeFactory) Description() string

Description returns the description of this Bee.

func (*EmailServerBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*EmailServerBeeFactory) ID Uses

func (factory *EmailServerBeeFactory) ID() string

ID returns the ID of this Bee.

func (*EmailServerBeeFactory) Image Uses

func (factory *EmailServerBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*EmailServerBeeFactory) LogoColor Uses

func (factory *EmailServerBeeFactory) LogoColor() string

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

func (*EmailServerBeeFactory) Name Uses

func (factory *EmailServerBeeFactory) Name() string

Name returns the name of this Bee.

func (*EmailServerBeeFactory) New Uses

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

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

func (*EmailServerBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package emailserverbee imports 5 packages (graph) and is imported by 3 packages. Updated 2019-05-28. Refresh now. Tools for package owners.