Note: doozerd is the server. This is the Go client driver for doozer.
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)
}
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/...
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.