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