Registry / database / mna-redisc

mna-redisc

JSON →
library1.4.0gogounverified

Package redisc implements a redis cluster client on top of the redigo client package.

go get github.com/mna/redisc
INSTALL
IMPORT
SIG · MNA-REDISC
M
mna-redisc
databasegov1.4.0
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.

redisc
github.com/mna/redisc

Connect to a Redis cluster and set a key

package main import ( "fmt" "github.com/mna/redisc" ) func main() { cluster, _ := redisc.NewCluster(&redisc.ClusterOptions{ StartupNodes: []string{"127.0.0.1:7000"}, }) conn, _ := cluster.Get() defer conn.Close() conn.Do("SET", "key", "value") fmt.Println("done") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mna-redisc — go get mna-redisc · libregistry