Add the beginnings of SMTP session management

This commit is contained in:
2018-03-05 23:37:54 +00:00
parent 6ac949e395
commit 2c81675578
3 changed files with 52 additions and 4 deletions

View File

@@ -68,8 +68,8 @@ type concrete struct {
storm *storm.DB
domainBucket storm.Node
// These are persisted in BoltDB, but we
// Might as well keep them in memory for the duration, though.
// These are persisted in BoltDB, but we might as well keep them in memory
// for the duration. Calls to SetDomain/SetTLS will invalidate them.
domain string
cert tls.Certificate
}