mirror of
https://github.com/amark/gun.git
synced 2025-06-07 22:56:42 +00:00
6 lines
182 B
JavaScript
6 lines
182 B
JavaScript
var redis = require("redis"),
|
|
client = redis.createClient();
|
|
|
|
// This command is magical. Client stashes the password and will issue on every connect.
|
|
client.auth("somepass");
|