Versions in this module Expand all Collapse all v1 v1.8.12 Nov 16, 2021 v1.8.11 Nov 15, 2021 Changes in this version + const HTTP + const IMAP + const SMTP + type Controller interface + Close func() + ListenAndServe func() + func NewController(s Server, l listener.Listener) Controller + type Protocol string + type Server interface + Address func() string + DebugClient func() bool + DebugServer func() bool + DisconnectUser func(string) + HandlePanic func() + Protocol func() Protocol + Serve func(net.Listener) error + SetLoggers func(localDebug, remoteDebug io.Writer) + StopServe func() error + TLSConfig func() *tls.Config + UseSSL func() bool + type ServerErrorLogger struct + func NewServerErrorLogger(protocol Protocol) *ServerErrorLogger + func (s *ServerErrorLogger) Printf(format string, args ...interface{}) + func (s *ServerErrorLogger) Println(args ...interface{})