https://github.com/aacfactory/bcache
cache
https://github.com/aacfactory/bcache
Last synced: 5 months ago
JSON representation
cache
- Host: GitHub
- URL: https://github.com/aacfactory/bcache
- Owner: aacfactory
- License: apache-2.0
- Created: 2024-01-17T11:15:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-17T11:39:30.000Z (over 2 years ago)
- Last Synced: 2024-06-21T08:08:14.690Z (almost 2 years ago)
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bcache
byte cache
## Install
```shell
go get github.com/aacfactory/bcache
```
## Usage
```go
cache := bcache.New()
setErr := cache.Set([]byte("key"), []byte("value"))
value, has := cache.Get([]byte("key"))
```