Documentation ¶
Index ¶
- type Channels
- type Mailer
- func (m *Mailer) GetBody() string
- func (m *Mailer) GetMimeHeaders() string
- func (m *Mailer) GetSubject() string
- func (m *Mailer) GetTo() string
- func (m *Mailer) Send() error
- func (m *Mailer) SetBody(body string)
- func (m *Mailer) SetConfig(config map[string]string)
- func (m *Mailer) SetMimeHeaders(mimeHeaders string)
- func (m *Mailer) SetSubject(subject string)
- func (m *Mailer) SetTo(to string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channels ¶
type Channels struct { // Channel for sending messages to the messaging adapter SMS chan map[string]string // Channel for sending messages to the messaging adapter Email chan map[string]interface{} // Channel for sending messages to the messaging adapter Whatsapp chan map[string]interface{} }
func NewChannels ¶
func NewChannels() *Channels
type Mailer ¶
type Mailer struct {
// contains filtered or unexported fields
}
func (*Mailer) GetMimeHeaders ¶
func (*Mailer) GetSubject ¶
func (*Mailer) SetMimeHeaders ¶
func (*Mailer) SetSubject ¶
Click to show internal directories.
Click to hide internal directories.