bus

command
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

bus implements a bus example.

To use:

$ go build .
$ url0=tcp://127.0.0.1:40890
$ url1=tcp://127.0.0.1:40891
$ url2=tcp://127.0.0.1:40892
$ url3=tcp://127.0.0.1:40893
$ ./bus node0 $url0 $url1 $url2 & node0=$!
$ ./bus node1 $url1 $url2 $url3 & node1=$!
$ ./bus node2 $url2 $url3 & node2=$!
$ ./bus node3 $url3 $url0 & node3=$!
$ sleep 5
$ kill $node0 $node1 $node2 $node3

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL