Documentation ¶
Index ¶
- Constants
- Variables
- type Emailer
- func (e *Emailer) SendEmail(receivers []string, subject string, body string, attachmentFilePath []string) error
- func (e *Emailer) SendEmailWithLimit(receivers []string, subject string, body string, attachmentFilePath []string) error
- func (e *Emailer) SendInviteUserEmail(receivers []string, params map[string]string) error
- func (e *Emailer) SendResetPasswordEmail(receivers []string, params map[string]string) error
- type Params
- type TemplateParams
Constants ¶
View Source
const ( ResetPasswordURLPath = "/auth/resetpassword" //#nosec InviteUserURLPath = "/auth/users/create" //#nosec )
Variables ¶
View Source
var ErrRateLimitExceeded = errors.New("rate limit exceeded")
Functions ¶
This section is empty.
Types ¶
type Emailer ¶
func NewEmailer ¶
func (*Emailer) SendEmailWithLimit ¶ added in v0.63.0
func (*Emailer) SendInviteUserEmail ¶ added in v0.64.0
type TemplateParams ¶ added in v0.64.0
type TemplateParams struct {
URL string
}
Click to show internal directories.
Click to hide internal directories.