Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSSLmanager ¶
func NewSSLmanager(c BlobClient) *autocert.Manager
Types ¶
type Backend ¶
type Backend struct { ListenAddress string Domain string MxDomains string BlobAccount string BlobContainer string BlobKey string BlobClient BlobClient }
The Backend implements SMTP server methods
type BlobClient ¶
type BlobClient interface { Put(string, []byte) error Get(string) ([]byte, error) ListMail() ([]string, error) }
func NewAzureBlobClient ¶
func NewAzureBlobClient(account string, container string, key string) (BlobClient, error)
type Webmail ¶
type Webmail struct { XsrfSecret string BlobClient BlobClient }
func (*Webmail) ListenAndServeWebmail ¶
func (wm *Webmail) ListenAndServeWebmail()
Click to show internal directories.
Click to hide internal directories.