emailserverbee

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailServerBee

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

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

ReloadOptions parses the config options and initializes the Bee.

func (*EmailServerBee) Run

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

Run executes the Bee's event loop.

type EmailServerBeeFactory

type EmailServerBeeFactory struct {
	bees.BeeFactory
}

EmailServerBeeFactory is a factory for EmailServerBees.

func (*EmailServerBeeFactory) Description

func (factory *EmailServerBeeFactory) Description() string

Description returns the description of this Bee.

func (*EmailServerBeeFactory) Events

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

Events describes the available events provided by this Bee.

func (*EmailServerBeeFactory) ID

func (factory *EmailServerBeeFactory) ID() string

ID returns the ID of this Bee.

func (*EmailServerBeeFactory) Image

func (factory *EmailServerBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*EmailServerBeeFactory) LogoColor

func (factory *EmailServerBeeFactory) LogoColor() string

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

func (*EmailServerBeeFactory) Name

func (factory *EmailServerBeeFactory) Name() string

Name returns the name of this Bee.

func (*EmailServerBeeFactory) New

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

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

Options returns the options available to configure this Bee.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL