radix

module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2014 License: MIT

README

Radix

Radix is a minimalistic Redis client for Go. It is broken up into the following:

  • redis - A wrapper around a single redis connection. Supports normal commands/response as well as pipelining.

    • resp - A utility package for encoding and decoding messages from redis
  • extra - a sub-package containing added functionality

    • pool - a simple, automatically expanding/cleaning connection pool.

    • pubsub - a simple wrapper providing convenient access to Redis Pub/Sub functionality.

    • sentinel - a client for redis sentinel which acts as a connection pool for a cluster of redis nodes. A sentinel client connects to a sentinel instance and any master redis instances that instance is monitoring. If a master becomes unavailable, the sentinel client will automatically start distributing connections from the slave chosen by the sentinel instance.

Installation

go get github.com/fzzy/radix/redis

Testing

go get -u launchpad.net/gocheck
cd $GOROOT/src/pkg/github.com/fzzy/radix/redis
go test -v -bench=".*"

Copyright 2013 Juhani Åhman. Unless otherwise noted, the source files are distributed under the MIT License found in the LICENSE file.

Directories

Path Synopsis
extra
sentinel
The sentinel package provides a convenient interface with a redis sentinel which will automatically handle pooling connections and automatic failover.
The sentinel package provides a convenient interface with a redis sentinel which will automatically handle pooling connections and automatic failover.
resp
This package provides an easy to use interface for creating and parsing messages encoded in the REdis Serialization Protocol (RESP).
This package provides an easy to use interface for creating and parsing messages encoded in the REdis Serialization Protocol (RESP).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL