MCPcopy
hub / github.com/SpectoLabs/hoverfly / BoltCache

Struct BoltCache

core/cache/boltdb_cache.go:20–23  ·  view source on GitHub ↗

BoltCache - container to implement Cache instance with BoltDB backend for storage

Source from the content-addressed store, hash-verified

18
19// BoltCache - container to implement Cache instance with BoltDB backend for storage
20type BoltCache struct {
21 DS *bolt.DB
22 CurrentBucket []byte
23}
24
25// Set - saves given key and value pair to cache
26func (c *BoltCache) Set(key, value []byte) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected