Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func NewBackend ¶
func NewBackend( lmtpConfig Config, ldap *ldap.Connection, mailboxRepo *repository.MailboxRepository, messageRepo *repository.MessageRepository, userRepo *repository.UserRepository, ) (*Backend, error)
func (*Backend) AnonymousLogin ¶
type Config ¶
type Config struct { // Can be ldap, static or none AuthenticationType string StaticAuth StaticAuthConfig }
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func NewSession(mailboxRepo *repository.MailboxRepository, messageRepo *repository.MessageRepository, userRepo *repository.UserRepository) *Session
type StaticAuthConfig ¶
Click to show internal directories.
Click to hide internal directories.