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