package
0.0.0-20200917143433-b1b50a11e74b
Repository: https://github.com/al-un/alun-api.git
Documentation: pkg.go.dev
# Functions
GetAlunEmail loads the AlunEmail singleton.
GetDummyEmail generates a DummyEmail and keep the GetXXX singleton syntax to align with LoadAlunEmail.
IsDev returns true if the environment variables define a Development mode.
IsProd returns true if the environment variables define a production mode.
IsTest returns true if the environment variables define a test mode.
# Constants
List all running mode of the applications.
List all running mode of the applications.
List all running mode of the applications.
EmailTemplateUserPwdReset when user is requesting a password reset.
EmailTemplateUserRegistration when sending email for new user.
List all environment variable names here to have a centralized list.
List all environment variable names here to have a centralized list.
List all environment variable names here to have a centralized list.
List all environment variable names here to have a centralized list.
=== Email.
List all environment variable names here to have a centralized list.
=== Application: Memo.
List all environment variable names here to have a centralized list.
List all environment variable names here to have a centralized list.
=== Server.
List all environment variable names here to have a centralized list.
=== Application: User.
List all environment variable names here to have a centralized list.
List all environment variable names here to have a centralized list.
# Structs
AlunEmail is the default production implementation of AlunEmailSender.
DummyEmail prevents from sending real email and does nothing.
# Interfaces
AlunEmailSender is a convenient interface to send an email from a specific no-reply Alun email.