1. Lateef Jackson
  2. goriak

Overview

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