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

Method GetOrCreateIMAPAcct

framework/module/storage.go:35–35  ·  view source on GitHub ↗

GetOrCreateIMAPAcct returns User associated with storage account specified by the name. If it doesn't exists - it should be created.

(username string)

Source from the content-addressed store, hash-verified

33 //
34 // If it doesn't exists - it should be created.
35 GetOrCreateIMAPAcct(username string) (imapbackend.User, error)
36 GetIMAPAcct(username string) (imapbackend.User, error)
37
38 // Extensions returns list of IMAP extensions supported by backend.

Callers 2

openAccountMethod · 0.65
LoginMethod · 0.65

Implementers 1

Storageinternal/storage/imapsql/imapsql.go

Calls

no outgoing calls

Tested by

no test coverage detected