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 ...
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 ...
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) 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 。。。
Click to show internal directories.
Click to hide internal directories.