Package nanomsg adds language bindings for nanomsg in Go. nanomsg is a high-performance implementation of several "scalability protocols". See http://nanomsg.org/ for more information.
This is a work in progress. nanomsg is still in a beta stage. Expect its API, or this binding, to change.
This is a cgo based library and requires the nanomsg library to build. Install it either from source or use your package manager of choice. 0.9 or later is required.
$ go get github.com/op/go-nanomsg
After this command go-nanomsg is ready to use. Its source will be in:
$GOROOT/src/pkg/github.com/op/go-nanomsg
You can use go get -u -a
to update all installed packages.
For docs, see http://godoc.org/github.com/op/go-nanomsg or run:
$ go doc github.com/op/go-nanomsg
There is now also an implementation of nanomsg in pure Go. See https://github.com/gdamore/mangos for more details.