goriak forked from https://bitbucket.org/lateefj/goriak for heroku usage (heroku + hg:dep == nil)
Go
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.hg
examples
LICENSE
README.rst
riak.go
riak_test.go

README.rst

The goal of the project is to provide a client interface to Riak database. Currently it provides the basic REST API (http://wiki.basho.com/display/RIAK/REST+API) to the Riak key/value database. This library should be considered early Alpha since it is evolving dramatically. It includes some additional experimental access patterns that use channels to make async access to a Riak easier.

CRUD API:

Put(doc Document)

Get(doc Document)

Delete(bucketName, key string)

SEACH API:

SearchBin(bucketName, index, value string) ([]string, error)

SearchBinRange(bucketName, index string, start, end string) ([]string, error)

SearchInt(bucketName, index string, value int) ([]string, error)

SearchIntRange(bucketName, index string, start, end int) ([]string, error)

An example of how to use the apis is in examples/basic.go