go-nsq
is the official Go package for NSQ.
NOTE: The public API was improved in pull request #30 and is not backwards compatible with previous releases. 0.3.7 is the last stable release compatible with the legacy API.
The latest stable release is 0.3.7
It provides high-level Consumer and Producer types as well as low-level functions to communicate over the NSQ protocol.
See the main repo apps directory for examples of clients built using this package.
$ go get github.com/bitly/go-nsq
See godoc for pretty documentation or:
# in the go-nsq package directory
$ go doc