MCPcopy
hub / github.com/dnote/dnote / MockEmailbackendImplementation

Struct MockEmailbackendImplementation

pkg/server/testutils/main.go:220–223  ·  view source on GitHub ↗

MockEmailbackendImplementation is an email backend that simply discards the emails

Source from the content-addressed store, hash-verified

218
219// MockEmailbackendImplementation is an email backend that simply discards the emails
220type MockEmailbackendImplementation struct {
221 mu sync.RWMutex
222 Emails []MockEmail
223}
224
225// Clear clears the mock email queue
226func (b *MockEmailbackendImplementation) Clear() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected