Ecosyste.ms: Packages

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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/prashanthpai/sqlcache

Package sqlcache provides an experimental caching middleware for database/sql users. This liberates your Go program from maintaining imperative code that implements the cache-aside pattern. Your program will perceive the database client/driver as a read-through cache. Usage: Caching is controlled using cache attributes which are SQL comments starting with `@cache-` prefix. Only queries with cache attributes are cached. Example query:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/prashanthpai/sqlcache
Keywords: cache, database, declarative-caching, go, golang, interceptor, middleware, pgx, postgres, postgresql, redis, ristretto, slonik, sql, sqlmw
License: MIT
Latest release: 6 months ago
First release: almost 3 years ago
Namespace: github.com/prashanthpai
Stars: 15 on GitHub
Forks: 7 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 17 days ago

    Loading...
    Readme
    Loading...