Registry / database / redis-v4

redis-v4

JSON →
library4.2.4gogounverified

A Go client for the Redis key-value store, version 4.

go get gopkg.in/redis.v4
INSTALL
IMPORT
SIG · REDIS-V4
R
redis-v4
databasegov4.2.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

redis
✓ gopkg.in/redis.v4

Connects to Redis and sets a key-value pair.

package main import "gopkg.in/redis.v4" func main() { client := redis.NewClient(&redis.Options{ Addr: "localhost:6379", }) client.Set("key", "value", 0).Result() }
Debug
Known issues
breakingVersion 4 is outdated; consider upgrading to v8 or later for new features and security fixes.
fix
Use gopkg.in/redis.v8 or github.com/go-redis/redis/v8.
affects: >=4.0.0 <5.0.0
Upgrade
Version history
4.2.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
redis-v4 — go get redis-v4 · libregistry