auth.js 182 B

12345
  1. var redis = require("redis"),
  2. client = redis.createClient();
  3. // This command is magical. Client stashes the password and will issue on every connect.
  4. client.auth("somepass");