API Reference fake_riak v#0.1.0

Copy Markdown View Source

Modules

Top-level namespace for FakeRiak.

Command-line entry point for the mix escript.build executable.

Generic, framing-agnostic connection serve loop.

Fake etcd endpoint speaking the etcd v2 HTTP/JSON API over TCP.

A minimal HTTP/1.1 request parser and response builder shared by the Riak and etcd handlers (both of which speak HTTP over TCP).

A supervised TCP acceptor for a single protocol.

Fake memcached endpoint speaking the classic memcached text protocol.

Behaviour implemented by every wire-protocol handler (Riak, Redis, etcd, memcached).

Fake Redis endpoint speaking RESP (the Redis serialization protocol).

Fake Riak KV endpoint speaking Riak's HTTP API over TCP.

The shared in-memory key-value store, a single GenServer backing every endpoint.