No description
- Go 100%
Wires the cache.Cache surface into Core's service-registration plumbing behind a *core.ServiceRuntime[CacheConfig]. NewService() factory builds the underlying *Cache via the existing New() constructor and returns a *Service ready for c.Service() registration. Action handlers exposed via OnStartup: cache.delete — opts.key cache.delete_many — opts.keys ([]string) cache.path — opts.key → on-disk path cache.invalidate — opts.trigger cache.clear_scope — opts.origin Get/Set/SetBinary/GetBinary stay direct method calls because they need typed `dest any` arguments that don't round-trip through Options cleanly. Triplets + examples included (8 audit findings → 0; verdict COMPLIANT). Co-authored-by: Hephaestus <hephaestus@lthn.ai> |
||
|---|---|---|
| .core | ||
| .github/workflows | ||
| docs | ||
| external | ||
| go | ||
| .gitignore | ||
| .gitmodules | ||
| .woodpecker.yml | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| go.work | ||
| LICENCE | ||
| README.md | ||
| sonar-project.properties | ||
| threats.md | ||
go-cache
dappco.re/go/cache provides a storage-agnostic cache backed by
dappco.re/go/io media. It stores JSON entries, binary sidecars, scoped caches,
and request/response metadata for HTTP cache workflows.
Development
The module lives in go/.
cd go
GOWORK=off GOPROXY=direct GOSUMDB=off go test -count=1 -short ./...
The repository is v0.9.0 audit-driven; the release contract is:
bash /Users/snider/Code/core/go/tests/cli/v090-upgrade/audit.sh .