Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMailgunEmailSender ¶
NewMailgunEmailSender creates a new instance of mailgunEmailSender. It initializes the Mailgun email sender with the provided domain and API key.
Parameters:
- domain: The Mailgun domain to be used for sending emails.
- apiKey: The API key to be used for authentication.
Returns:
- *mailgunEmailSender: A pointer to the initialized mailgunEmailSender.
- error: An error if the initialization fails, otherwise nil.
Types ¶
Click to show internal directories.
Click to hide internal directories.