Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 213 Bytes

File metadata and controls

14 lines (12 loc) · 213 Bytes

bcache

byte cache

Install

go get github.com/aacfactory/bcache

Usage

cache := bcache.New()
setErr := cache.Set([]byte("key"), []byte("value"))
value, has := cache.Get([]byte("key"))