proxy.golang.org : github.com/rrgmc/trcache : v0.4.0
Package trcache implements strongly-typed generics-based cache library wrappers. The wrappers are highly customizable and allows accessing the underlying cache functionality if desired. A loadable (refresh) implementation is available for all caches, which provides a "GetOrRefresh" method which calls a refresh function if the data was not found in "Get". Example: Example with refresh:
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/rrgmc/trcache@v0.4.0
Published:
Indexed:
Loading...
Readme
Loading...
Dependencies
- github.com/stretchr/testify v1.8.2
- go.uber.org/multierr v1.10.0