Versions in this module Expand all Collapse all v0 v0.1.0 Jun 22, 2026 Changes in this version + type BlobCache interface + Add func(key string, opts ...Option) (Writer, error) + Close func() error + Get func(key string, opts ...Option) (Reader, error) + func NewDirectoryCache(directory string, config DirectoryCacheConfig) (BlobCache, error) + func NewMemoryCache() BlobCache + type DirectoryCacheConfig struct + BufPool *sync.Pool + DataCache *lrucache.Cache + Direct bool + FdCache *lrucache.Cache + MaxCacheFds int + MaxLRUCacheEntry int + SyncAdd bool + type MemoryCache struct + Membuf map[string]*bytes.Buffer + func (mc *MemoryCache) Add(key string, opts ...Option) (Writer, error) + func (mc *MemoryCache) Close() error + func (mc *MemoryCache) Get(key string, opts ...Option) (Reader, error) + type Option func(o *cacheOpt) *cacheOpt + func Direct() Option + type Reader interface + Close func() error + type Writer interface + Abort func() error + Commit func() error v0.0.1-alpha.1 May 28, 2026