Skip to content

Redis Facade that supports concurrency-safe connections to 1 Redis instance

License

Notifications You must be signed in to change notification settings

coopnorge/go-redis-facade

Repository files navigation

Go Redis Facade

Validate

Coop Redis Facade wraps simple interaction with Redis clients for CRUD operations by preventing race conditions between multiple client instances against singular instances of Redis.

If you are interested in how Sync between clients works, take a look at this post.

Module Documentation

https://pkg.go.dev/github.com/coopnorge/go-redis-facade

Mocks

To generate or update mocks use gomockhandler. gomockhandler is provided by golang-devtools.

Check mocks

docker compose run --rm golang-devtools gomockhandler -config ./gomockhandler.json check

Generate / Update mocks

docker compose run --rm golang-devtools gomockhandler -config ./gomockhandler.json mockgen

About

Redis Facade that supports concurrency-safe connections to 1 Redis instance

Resources

License

Stars

Watchers

Forks

Packages

No packages published