Documentation ¶
Index ¶
- func NewSmtpConnector() connectors.Connector
- type SmtpConnector
- func (c SmtpConnector) GetAuth(schema smtptype.Smtp) smtp.Auth
- func (c SmtpConnector) GetSmtp(schema smtptype.Smtp, withAuth bool, isTls bool, startTls bool) (*smtp.Client, error)
- func (c SmtpConnector) Id() string
- func (c SmtpConnector) Load(schema interface{}) (interface{}, error)
- func (c SmtpConnector) Name() string
- func (c SmtpConnector) Schema() interface{}
- func (c SmtpConnector) Tags() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSmtpConnector ¶
func NewSmtpConnector() connectors.Connector
Types ¶
type SmtpConnector ¶
type SmtpConnector struct {
// contains filtered or unexported fields
}
func (SmtpConnector) Id ¶
func (c SmtpConnector) Id() string
func (SmtpConnector) Load ¶
func (c SmtpConnector) Load(schema interface{}) (interface{}, error)
func (SmtpConnector) Name ¶
func (c SmtpConnector) Name() string
func (SmtpConnector) Schema ¶
func (c SmtpConnector) Schema() interface{}
func (SmtpConnector) Tags ¶
func (c SmtpConnector) Tags() []string
Click to show internal directories.
Click to hide internal directories.