MCPcopy Create free account
hub / github.com/netlify/gotrue / Mailer

Method Mailer

api/api.go:234–237  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

232}
233
234func (a *API) Mailer(ctx context.Context) mailer.Mailer {
235 config := a.getConfig(ctx)
236 return mailer.NewMailer(config)
237}
238
239func (a *API) getConfig(ctx context.Context) *conf.Configuration {
240 obj := ctx.Value(configKey)

Callers 6

RecoverMethod · 0.95
InviteMethod · 0.95
SignupMethod · 0.95
validateEmailMethod · 0.95
UserUpdateMethod · 0.95

Calls 2

getConfigMethod · 0.95
NewMailerFunction · 0.92

Tested by

no test coverage detected