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
- codemeta.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: almost 2 years ago
First release: over 4 years ago
Namespace: github.com/prashanthpai
Stars: 15 on GitHub
Forks: 7 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 4 days ago