Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/node-redis
/ connect-to-cluster.js
File
connect-to-cluster.js
examples/connect-to-cluster.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// This is an example script to connect to a running cluster.
2
// After connecting to the cluster the code sets and get a value.
3
4
// To setup this cluster you can follow the guide here:
Callers
nothing calls this directly
Calls
6
createCluster
Function · 0.90
log
Method · 0.80
connect
Method · 0.45
set
Method · 0.45
get
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected