提交 7bf9ff61 作者: Brian Tiger Chow

refactor(swarm) specify direction of secure chans

上级 b249ebe8
......@@ -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.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论