github.com/xuyu/goredis (go): Package goredis is another redis client with full features which writter in golang  Protocol Specification: http://redis.io/topics/protocol.  Redis reply has five types: status, error, integer, bulk, multi bulk. A Status Reply is in the form of a single line string starting with "+" terminated by "\r\n". Error Replies are very similar to Status Replies. The only difference is that the first byte is "-". Integer reply is just a CRLF terminated string representing an integer, prefixed by a ":" byte. Bulk replies are used by the server in order to return a single binary safe string up to 512 MB in length. A Multi bulk reply is used to return an array of other replies. Every element of a Multi Bulk Reply can be of any kind, including a nested Multi Bulk Reply. So five reply type is defined:  And then a Reply struct which represent the redis response data is defined:  Reply struct has many useful methods:  Connect redis has two function: Dial and DialURL, for example:  DialConfig can also take named options for connection config:  Try a redis command is simple too, let's do GET/SET:  Or you can execute customer command with Redis.ExecuteCommand method:  Redis Pipelining is defined as:  Transaction, Lua Eval, Publish/Subscribe, Monitor, Scan, Sort are also supported.
Keywords: golang|redis|redis-client