Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Firestore ¶
type Firestore struct {
// contains filtered or unexported fields
}
Firestore is an autocert.Cache that works with Google's Firestore.
func NewFirestore ¶
func NewFirestore(cr *firestore.CollectionRef) *Firestore
NewFirestore returns a new Firestore using cr as the collection for cache. If cr is nil, NewFirestore returns nil.
func (Firestore) Delete ¶
Delete removes a certificate data from the cache under the specified key. If there's no such key in the cache, Delete returns nil.
type SQL ¶
type SQL struct {
// contains filtered or unexported fields
}
SQL is the base type for SQL caches.
func NewSQLite ¶
NewSQLite returns a new initialized SQL for the database db in SQLite format. NewSQLite will create a new table if one does not already exists.
func (SQL) Delete ¶
Delete removes a certificate data from the cache under the specified key. If there's no such key in the cache, Delete returns nil.
Click to show internal directories.
Click to hide internal directories.