email

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailConfig

type EmailConfig struct {
	EmailHost   string
	EmailPort   int
	Log         *log.Logger
	TLS         bool
	TLSInsecure bool
}

type EmailService

type EmailService struct {
	// contains filtered or unexported fields
}

func NewEmailService

func NewEmailService(config EmailConfig) (es *EmailService, err error)

func (*EmailService) ConvertMessage

func (es *EmailService) ConvertMessage(data []byte) (services.ServiceMessage, error)

func (*EmailService) ID

func (es *EmailService) ID() string

func (*EmailService) Logger

func (es *EmailService) Logger() *log.Logger

func (*EmailService) NewClient

func (es *EmailService) NewClient() (services.PumpClient, error)

func (*EmailService) PushMessage

func (*EmailService) SquashAndPushMessage

func (*EmailService) String

func (es *EmailService) String() string

func (*EmailService) Validate

func (es *EmailService) Validate(data []byte) error

Jump to

Keyboard shortcuts

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