github.com/ancientlore/cachefs
Package cachefs implements a read-only cache around a fs.FS, using groupcache. Using cachefs is straightforward: cachefs "wraps" the underlying file system with caching. You can specify groupcache parameters - the group name and the cache size. groupcache does not support expiration, but cachefs supports quantizing values so that expiration happens around the expiration duration provided. Expiration can be disabled by specifying 0 for the duration. See https://pkg.go.dev/github.com/golang/groupcache for more information on groupcache.
proxy.golang.org
v1.1.0
6 months ago
9
1
1
Past Dependents
Check this option to include packages that no longer depend on this package in their latest version but previously did.
Filter
Filter by Kind
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/ancientlore/cachefs
spec |
| License | Apache-2.0 |
| Namespace | github.com/ancientlore |
| First Release | over 3 years ago |
| Last Synced | 17 days ago |
Repository
| Stars | 6 on GitHub |
| Forks | 1 on GitHub |