Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertCache ¶
type CertCache struct { Collection database.Collection DB database.Database }
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 ¶
NewCertCache creates a new SSL certificate cache in a MongoDB collection
func (*CertCache) Delete ¶
Delete removes a certificate from the database. The cert to remove is identified by a key
Click to show internal directories.
Click to hide internal directories.