Documentation
¶
Overview ¶
Package emaildev is the log-only mail channel: every send writes an info log line instead of doing network IO (the default when no real channel is configured). No IO means no timeouts — the ctx-detachment contract the smtp/resend adapters impose is irrelevant here, and ctx is accepted only for interface parity with the other EmailSender implementations.
Index ¶
- type Sender
- func (s *Sender) Send(_ context.Context, to, subject, body string) error
- func (s *Sender) SendEmailVerification(_ context.Context, to, link string) error
- func (s *Sender) SendInvite(_ context.Context, to, workspaceName, invitationID string) error
- func (s *Sender) SendLoginCode(_ context.Context, to, code string) error
- func (s *Sender) SendPasswordReset(_ context.Context, to, link string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
func (*Sender) SendEmailVerification ¶
func (*Sender) SendInvite ¶
func (*Sender) SendLoginCode ¶
Click to show internal directories.
Click to hide internal directories.