internal

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DispatcherManager

type DispatcherManager struct {
	Regs              []mails.DispatcherRegistry //starter:inject(".")
	DefaultSenderAddr string                     //starter:inject("${mails.default-sender-address}")
	// contains filtered or unexported fields
}

DispatcherManager ...

func (*DispatcherManager) Life

func (inst *DispatcherManager) Life() *application.Life

Life ...

func (*DispatcherManager) Send

func (inst *DispatcherManager) Send(c context.Context, msg *mails.Message) error

Send ...

type DriverManagerImpl

type DriverManagerImpl struct {
	Regs []mails.DriverRegistry //starter:inject(".")
	// contains filtered or unexported fields
}

DriverManagerImpl ...

func (*DriverManagerImpl) CreateDispatcher

func (inst *DriverManagerImpl) CreateDispatcher(cfg *mails.Configuration) (mails.Dispatcher, error)

CreateDispatcher ...

func (*DriverManagerImpl) FindDriver

func (inst *DriverManagerImpl) FindDriver(cfg *mails.Configuration) (mails.Driver, error)

FindDriver ...

func (*DriverManagerImpl) Life

func (inst *DriverManagerImpl) Life() *application.Life

Life ...

type HookStartTLS

type HookStartTLS func(*tls.Config)

HookStartTLS nil, except for tests

type MainDispatcherRegistry

type MainDispatcherRegistry struct {
	AppContext         application.Context //starter:inject("context")
	Drivers            mails.DriverManager //starter:inject("#")
	DispatcherNameList string              //starter:inject("${mails.dispatcher-name-list}")
	// contains filtered or unexported fields
}

MainDispatcherRegistry ...

func (*MainDispatcherRegistry) Life

func (inst *MainDispatcherRegistry) Life() *application.Life

Life ...

func (*MainDispatcherRegistry) ListRegistrations

func (inst *MainDispatcherRegistry) ListRegistrations() []*mails.DispatcherRegistration

ListRegistrations ...

type MockDriver

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

MockDriver ...

func (*MockDriver) Accept

func (inst *MockDriver) Accept(cfg *mails.Configuration) bool

Accept ...

func (*MockDriver) CreateDispatcher

func (inst *MockDriver) CreateDispatcher(cfg *mails.Configuration) (mails.Dispatcher, error)

CreateDispatcher ...

func (*MockDriver) ListRegistrations

func (inst *MockDriver) ListRegistrations() []*mails.DriverRegistration

ListRegistrations ...

type SMSDriver

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

SMSDriver ...

func (*SMSDriver) Accept

func (inst *SMSDriver) Accept(cfg *mails.Configuration) bool

Accept ...

func (*SMSDriver) CreateDispatcher

func (inst *SMSDriver) CreateDispatcher(cfg *mails.Configuration) (mails.Dispatcher, error)

CreateDispatcher ...

func (*SMSDriver) ListRegistrations

func (inst *SMSDriver) ListRegistrations() []*mails.DriverRegistration

ListRegistrations ...

type SMTPSenderDriver

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

SMTPSenderDriver ...

func (*SMTPSenderDriver) Accept

func (inst *SMTPSenderDriver) Accept(cfg *mails.Configuration) bool

Accept ...

func (*SMTPSenderDriver) CreateDispatcher

func (inst *SMTPSenderDriver) CreateDispatcher(cfg *mails.Configuration) (mails.Dispatcher, error)

CreateDispatcher ...

func (*SMTPSenderDriver) ListRegistrations

func (inst *SMTPSenderDriver) ListRegistrations() []*mails.DriverRegistration

ListRegistrations 。。。

Jump to

Keyboard shortcuts

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