I have developed an experimental wrapper for the excellent ZMQ4 golang binding 
at
  https://github.com/pebbe/zmq4

The wrapper allows for zmq.Socket to be wrapped so they can be accessed
through golang channels in a threadsafe and idiomatic manner. This allows
(inter-alia) golang select statements which mix ZMQ and non-ZMQ items,
for instance channels to represent cancellation.

You can find the code here:

  https://github.com/abligh/zmqchan

and documentation here:

  https://godoc.org/github.com/abligh/zmqchan

This could be an addition to the zmq4 golang binding, see:
  https://github.com/pebbe/zmq4/pull/81
but the current view of the maintainer is that this is not desirable,
(as per that pull request) therefore I am providing it as a separate library.

-- 
Alex Bligh




_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to