Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServerAddress string `json:"serverAddress,omitempty"` TLSPort int32 `json:"TLSPort,omitempty"` SSLPort int32 `json:"SSLPort,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` FromEmail string `json:"fromEmail,omitempty"` CreatedAt string `json:"createdAt,omitempty"` UpdatedAt string `json:"updatedAt,omitempty"` }
type ConfigStore ¶
type Mailer ¶
type Mailer struct { errors.NotFoundErrCheck // contains filtered or unexported fields }
func New ¶
func New(cs ConfigStore) (*Mailer, error)
func (*Mailer) Configured ¶
Click to show internal directories.
Click to hide internal directories.