MCPcopy Index your code
hub / github.com/foxcpp/maddy / Table

Interface Table

framework/module/table.go:28–30  ·  view source on GitHub ↗

Table is the interface implemented by module that implementation string-to-string translation. Modules implementing this interface should be registered with prefix "table." in name.

Source from the content-addressed store, hash-verified

26// Modules implementing this interface should be registered with prefix
27// "table." in name.
28type Table interface {
29 Lookup(ctx context.Context, s string) (string, bool, error)
30}
31
32// MultiTable is the interface that module can implement in addition to Table
33// if it can provide multiple values as a lookup result.

Callers 8

usernameForAuthMethod · 0.65
LookupMethod · 0.65
AuthPlainMethod · 0.65
CreateUserHashMethod · 0.65
LookupMethod · 0.65
AuthPlainMethod · 0.65
usernameForStorageMethod · 0.65
ConfigureMethod · 0.65

Implementers 15

Dummyframework/module/modules/dummy.go
Authinternal/auth/pass_table/table.go
mockTableinternal/auth/plain_separate/plain_sep
Authinternal/auth/plain_separate/plain_sep
Authinternal/auth/shadow/module.go
Authinternal/auth/netauth/netauth.go
Authinternal/auth/ldap/ldap.go
Tableinternal/testutils/table.go
Storageinternal/storage/imapsql/imapsql.go
EmailLocalpartinternal/table/email_localpart.go
Fileinternal/table/file.go
Identityinternal/table/identity.go

Calls

no outgoing calls

Tested by

no test coverage detected