Go client driver for doozerd, a consistent, distributed data store
Go Shell Protocol Buffer Makefile
Pull request Compare This branch is 17 commits ahead, 26 commits behind ha:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmd/doozer
.gitignore
LICENSE
Makefile
README.md
all.sh
clean.sh
conn.go
dist.sh
env.sh
err.go
event.go
file.go
msg.pb.go
msg.proto
ver.sh
walk.go

README.md

Doozer Client

Note: doozerd is the server. This is the Go client driver for doozer.

How to use

To install the Go client:

$ goinstall github.com/ha/doozer

To install the CLI client:

$ cd $GOROOT/src/pkg/github.com/ha/doozer/cmd
$ make
$ make install

To use:

package main

import (
	"github.com/ha/doozer"
	"os"
)

func main() {
	doozer, err := doozer.Dial("localhost:8046")

	if err != nil {
		panic(err)
	}

	myfile, _, _ := doozer.Get("/myfile", nil)
	os.Stdout.Write(myfile)
}

License and Authors

Doozer is distributed under the terms of the MIT License. See LICENSE for details.

Doozer was created by Blake Mizerany and Keith Rarick. Type git shortlog -s for a full list of contributors.