Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IDKey = bsonutil.MustHaveTag(cacheItem{}, "ID") ContentsKey = bsonutil.MustHaveTag(cacheItem{}, "Contents") UpdatedKey = bsonutil.MustHaveTag(cacheItem{}, "Updated") )
Functions ¶
This section is empty.
Types ¶
type DBCache ¶
type DBCache struct{}
DBCache stores and retrieves binary data in the database.
func (*DBCache) Delete ¶
Delete removes the value associated with the key. The cache is best-effort, so a delete failure is logged but not surfaced to the caller.
Click to show internal directories.
Click to hide internal directories.