An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

proxy.golang.org : github.com/rrgmc/trcache : v0.10.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.10.0
Published:
Indexed:

    Loading...
    Readme
    Loading...