Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server holds the configuration and state of our SMTP server
func NewServer ¶
func NewServer( cfg config.SMTPConfig, globalShutdown chan bool, ds datastore.DataStore, msgHub *msghub.Hub) *Server
NewServer creates a new Server instance with the specificed config
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session holds the state of an SMTP session
func NewSession ¶
NewSession creates a new Session for the given connection
Click to show internal directories.
Click to hide internal directories.