Documentation ¶
Overview ¶
Package boltdbcache provides an implementation of httpcache.Cache that uses github.com/boltdb/bolt
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache is an implementation of httpcache.Cache with boltdb storage
func New ¶
New returns a new Cache that will store a boltdb in path using bucket (defaults to "cache")
func NewWithDB ¶
NewWithDB returns a new Cache using the provided boltdb as underlying storage. Assumes the bucket is already created
Click to show internal directories.
Click to hide internal directories.