Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MetricKeys = []string{"method"}
)
Functions ¶
func OTPTemplate ¶
Types ¶
type MailAddress ¶
type SendEmailOption ¶
type SendEmailOption struct {
From MailAddress `json:"from"`
To []MailAddress `json:"to"`
Subject string `json:"subject"`
Template string `json:"template"`
TemplateArgs map[string]interface{} `json:"args"`
}
type Service ¶
type Service interface {
SendOTPEmail(recipient MailAddress, otpType string, otp string) error
SendVerificationEmail(recipient MailAddress, verificationLink string) error
}
func NewInstrumentorService ¶
type TemplateGenerator ¶
Click to show internal directories.
Click to hide internal directories.