Documentation ¶
Overview ¶
Package mailgun wraps the official client to provide unit test utilities and simplify the usage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTimeout = fmt.Errorf("mailgun: timeout")
)
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type InvalidToEmailError ¶ added in v1.9.0
type InvalidToEmailError struct {
Email string
}
func (InvalidToEmailError) Error ¶ added in v1.9.0
func (err InvalidToEmailError) Error() string
type SendRejectedError ¶
type SendRejectedError struct {
Reason string
}
func (SendRejectedError) Error ¶
func (err SendRejectedError) Error() string
Click to show internal directories.
Click to hide internal directories.