pebbe / zmq4

A Go interface to ZeroMQ version 4
BSD 2-Clause "Simplified" License
1.17k stars 163 forks source link

[Examples] Consider splitting examples into server/client components #137

Open hamid-elaosta opened 6 years ago

hamid-elaosta commented 6 years ago

Having recently implemented CURVE ZMQ using this library, it's not clear in the examples which calls should be made only on the client, only on the server or on both as they are contained within the same file.

I'd suggest either splitting them into two separate components go files, or clearly commenting them to indicate which side of the connection each call belongs to.