p2p: update readme, some minor things

This commit is contained in:
Ethan Buchman
2017-11-07 07:42:04 +00:00
parent ec87c740a7
commit e01986e2b3
3 changed files with 46 additions and 14 deletions

View File

@ -481,17 +481,6 @@ func (sw *Switch) listenerRoutine(l Listener) {
// cleanup
}
//-----------------------------------------------------------------------------
type SwitchEventNewPeer struct {
Peer Peer
}
type SwitchEventDonePeer struct {
Peer Peer
Error interface{}
}
//------------------------------------------------------------------
// Connects switches via arbitrary net.Conn. Used for testing.