Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cache, _ = lru.New[string, Template](16)
Functions ¶
Types ¶
type Dependencies ¶
type Dependencies interface { CourierConfig() config.CourierConfigs x.HTTPClientProvider }
type TemplateType ¶ added in v1.1.0
type TemplateType string
A Template's type
swagger:enum TemplateType
const ( TypeRecoveryInvalid TemplateType = "recovery_invalid" TypeRecoveryValid TemplateType = "recovery_valid" TypeRecoveryCodeInvalid TemplateType = "recovery_code_invalid" TypeRecoveryCodeValid TemplateType = "recovery_code_valid" TypeVerificationInvalid TemplateType = "verification_invalid" TypeVerificationValid TemplateType = "verification_valid" TypeVerificationCodeInvalid TemplateType = "verification_code_invalid" TypeVerificationCodeValid TemplateType = "verification_code_valid" TypeTestStub TemplateType = "stub" TypeLoginCodeValid TemplateType = "login_code_valid" TypeRegistrationCodeValid TemplateType = "registration_code_valid" )
Click to show internal directories.
Click to hide internal directories.