Sign in
apache
/
apex-malhar
/
ByteArrayToString
/
.
/
web
/
demos
/
package
/
node_modules
/
redis
/
examples
/
auth.js
blob: 6c0a563cd8beb660f0999e9dc829de469ef235dc [
file
] [
log
] [
blame
]
var
redis
=
require
(
"redis"
),
client
=
redis
.
createClient
();
// This command is magical. Client stashes the password and will issue on every connect.
client
.
auth
(
"somepass"
);