Skip to content
Redis Node.js externs and object store to add, index, and retrieve Haxe objects.
Haxe Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
src/js/npm
test
.gitignore
.gitmodules
README.md
haxelib.json
package.json

README.md

Haxe Node.js bindings for Redis

Haxe bindings for the Node.js Redis client https://github.com/mranney/node_redis.

Usage:

var redisClient = RedisClient.createClient(6379, "192.168.59.103");
var key = "TESTKEY1_" + Math.floor(Math.random() * 100000);
var value = "value1";

redisClient.set(key, value, function(err, success) {
    if (err != null) {
        trace('Err: ' + err);
    } else {
        redisClient.get(key, function(err, result) {
            if (err != null) {
                trace('Err: ' + err);
            } else {
                trace('Success: ' + (result == value));
            }
        });
    }
});
redisClient.quit();
Something went wrong with that request. Please try again.