MCPcopy Create free account
hub / github.com/foxcpp/maddy / mockAuth

Struct mockAuth

internal/auth/sasl_test.go:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28)
29
30type mockAuth struct {
31 db map[string]bool
32}
33
34func (m mockAuth) AuthPlain(username, _ string) error {
35 ok := m.db[username]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected