Description

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

main is referenced in 1 repository

github.com/go-mangos/mangos