cockroachdb/cockroach — pull request #178 by jamesgraves (2014-11-20 00:02:56+00:00)
Title: Example code for basic Call and Prepare/Flush.

Example functions for a simple Put & Get using Call(), and then for
Prepare() & Flush().

Each example is self-contained, and includes the server
setup/teardown. This makes the code closer to what would be used in
an actual client program.

The Prepare() & Flush() is a bit long because we have to create the values
we are later scanning for.