Documentation
¶
Index ¶
Constants ¶
View Source
const ChanBuffer = 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chan ¶
type Chan struct {
Outgoing chan Message
Incoming chan Message
Errors chan error
Close chan bool
}
type Conn ¶
type Conn struct {
Peer *peer.Peer
Addr *ma.Multiaddr
Conn net.Conn
Closed chan bool
Outgoing *msgio.Chan
Incoming *msgio.Chan
}
Click to show internal directories.
Click to hide internal directories.