Documentation ¶
Overview ¶
Package listcache defines a blob.Storage wrapper that caches results of list calls for short duration of time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWrapper ¶
func NewWrapper(st, cacheStorage blob.Storage, prefixes []blob.ID, hmacSecret []byte, duration time.Duration) blob.Storage
NewWrapper returns new wrapper that ensures list consistency with local writes for the given set of blob prefixes. It leverages the provided local cache storage to maintain markers keeping track of recently created and deleted blobs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.