Skip to content

ha/doozer

Folders and files

NameName
Last commit message
Last commit date
Jul 19, 2013
Mar 5, 2013
Nov 19, 2010
Mar 1, 2013
May 3, 2013
Aug 7, 2013
Jul 19, 2013
Mar 1, 2013
May 7, 2011
Mar 5, 2013
Mar 5, 2013
Nov 21, 2011

Repository files navigation

Doozer Client

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

How to use

To install the Go client:

$ go get github.com/ha/doozer

To install the CLI client:

$ go get github.com/ha/doozer/cmd/doozer

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)
}

Hacking

You can create a workspace for hacking on the doozer library and command by doing the following:

$ mkdir doozer
$ cd doozer
$ export GOPATH=`pwd`
$ go get github.com/ha/doozer/...

# ...hack...hack..hack...
$ vim src/github.com/ha/doozer/cmd/doozer/help.go

# rebuild ./bin/doozer
$ go install github.com/ha/doozer/...

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.

About

Go client driver for doozerd, a consistent, distributed data store

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages