Skip to content

graveyard/gearadmin

Repository files navigation

gearadmin

Go bindings to the gearman admin protocol.

Why

If you want to write programs that check the status of gearman itself, you need to interact with the admin protocol.

Documentation

GoDoc.

Tests

gearadmin is built and tested against Go 1.7. Ensure this is the version of Go you're running with go version.

Make sure your GOPATH is set, e.g. export GOPATH=~/go.

The tests run golint automatically, so install that with go get github.com/golang/lint/golint. Ensure that GOPATH/bin is in your PATH so that you can run golint: export PATH=$PATH:$GOPATH/bin.

The Makefile runs commands by specifying the full package name, e.g. go test github.com/Clever/gearadmin. If this repository is not checked out at $GOPATH/src/github.com/Clever/admin, then you will need to create a symlink to run tests:

  • Clone the repository to a location outside your GOPATH, and symlink it to $GOPATH/src/github.com/Clever/gearadmin.
  • If you have gvm installed, you can make this symlink by running the following from the root of where you have cloned the repository: gvm linkthis github.com/Clever/gearadmin.

If you have done all of the above, then you should be able to run

make

About

Go bindings to the gearman admin protocol.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published