top
(README.md)
# raftsql

A SQLite database backed by raft.

## Building
```sh
make
```

## Usage

Start a cluster:
```sh
goreman start
```

Manipulate the database:
```sh
curl -L http://localhost:22380 -L -XPUT -d "CREATE TABLE main.t (name text)"
curl -L http://localhost:32380 -L -XPUT -d "INSERT INTO main.t (name) VALUES (\"abc\")"
```

Query the database:
```sh
curl -L http://localhost:32380 -L -XGET -d "SELECT * FROM main.t"
```

Imported by 1 package(s)

  1. github.com/chzchzchz/raftsql/server

Imports 8 package(s)

  1. github.com/coreos/etcd/raft
  2. github.com/coreos/etcd/pkg/types
  3. github.com/coreos/etcd/rafthttp
  4. github.com/coreos/etcd/wal
  5. github.com/coreos/etcd/raft/raftpb
  6. github.com/coreos/etcd/wal/walpb
  7. github.com/mattn/go-sqlite3
  8. github.com/coreos/etcd/etcdserver/stats