MCPcopy
hub / github.com/dnote/dnote / StdoutBackend

Struct StdoutBackend

pkg/server/mailer/backend.go:129–131  ·  view source on GitHub ↗

StdoutBackend is an implementation of the Backend that prints emails to stdout instead of sending them. This is useful for development and testing.

Source from the content-addressed store, hash-verified

127// that prints emails to stdout instead of sending them.
128// This is useful for development and testing.
129type StdoutBackend struct {
130 Templates Templates
131}
132
133// NewStdoutBackend creates a stdout backend
134func NewStdoutBackend() *StdoutBackend {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected