Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertCache ¶
type CertCache struct { Collection *mgo.Collection DB database.DocumentDatabase }
CertCache implements the autocert Cache interface and provides the ability to store SSL certs in the MongoDB. TODO: Add ability to mock Collection
func NewCertCache ¶
func NewCertCache(db database.DocumentDatabase, collectionName string) *CertCache
Click to show internal directories.
Click to hide internal directories.