Redis Installation
Install the addon with:
keel add redisManual install:
go get github.com/slice-soft/ss-keel-redisWhat keel add redis generates
Section titled “What keel add redis generates”- Adds
github.com/slice-soft/ss-keel-redisto dependencies. - Creates
cmd/setup_redis.go. - Injects
redisClient := setupRedis(app, appLogger)intocmd/main.go. - Adds the required Redis connection example to
.env.
Generated env example:
REDIS_URL=redis://localhost:6379The generated bootstrap registers the Redis health checker automatically.