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

Method Set

core/cache/cache.go:5–5  ·  view source on GitHub ↗
(key, value []byte)

Source from the content-addressed store, hash-verified

3// Cache - cache interface used to store and retrieve serialized data
4type Cache interface {
5 Set(key, value []byte) error
6 Get(key []byte) ([]byte, error)
7 GetAllValues() ([][]byte, error)
8 GetAllEntries() (map[string][]byte, error)

Implementers 2

BoltCachecore/cache/boltdb_cache.go
InMemoryCachecore/cache/memory_cache.go

Calls

no outgoing calls