MCPcopy Index your code
hub / github.com/koding/kite / CachedStorage

Struct CachedStorage

kontrol/keypair.go:144–147  ·  view source on GitHub ↗

CachedStorage caches the requests that are going to backend and tries to lower the load on the backend

Source from the content-addressed store, hash-verified

142// CachedStorage caches the requests that are going to backend and tries to
143// lower the load on the backend
144type CachedStorage struct {
145 cache KeyPairStorage
146 backend KeyPairStorage
147}
148
149// NewCachedStorage creates a new CachedStorage
150func NewCachedStorage(backend KeyPairStorage, cache KeyPairStorage) *CachedStorage {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected