Skip to content

Instantly share code, notes, and snippets.

@nicholasf
Created July 10, 2014 06:43
Show Gist options
  • Save nicholasf/4f39f1a4f3553ad7311b to your computer and use it in GitHub Desktop.
Save nicholasf/4f39f1a4f3553ad7311b to your computer and use it in GitHub Desktop.
> redis = require('redis');
{ debug_mode: false,
RedisClient:
{ [Function: RedisClient]
super_: { [Function: EventEmitter] listenerCount: [Function] } },
Multi: [Function: Multi],
createClient: [Function],
print: [Function] }
>
undefined
> client = redis.createClient(6379, 6379);
{ stream:
{ _connecting: true,
_handle:
{ fd: 12,
writeQueueSize: 0,
owner: [Circular],
onread: [Function: onread] },
_readableState:
{ highWaterMark: 16384,
buffer: [],
length: 0,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment