Documentation ¶
Overview ¶
pipeline implements a one way pipe example. node0 is a listening pull socket, and node1 is a dialing push socket.
To use:
$ go build . $ url=tcp://127.0.0.1:40899 $ ./pipeline node0 $url & node0=$! && sleep 1 $ ./pipeline node1 $url "Hello, World." $ ./pipeline node1 $url "Goodbye." $ kill $node0
Click to show internal directories.
Click to hide internal directories.