mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 17:36:38 +08:00
refactor(swarm) specify direction of secure chans
This commit is contained in:
@ -25,8 +25,8 @@ type Conn struct {
|
|||||||
Closed chan bool
|
Closed chan bool
|
||||||
Outgoing *msgio.Chan
|
Outgoing *msgio.Chan
|
||||||
Incoming *msgio.Chan
|
Incoming *msgio.Chan
|
||||||
secIn chan []byte
|
secIn <-chan []byte
|
||||||
secOut chan []byte
|
secOut chan<- []byte
|
||||||
}
|
}
|
||||||
|
|
||||||
// ConnMap maps Keys (Peer.IDs) to Connections.
|
// ConnMap maps Keys (Peer.IDs) to Connections.
|
||||||
|
Reference in New Issue
Block a user