mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2024-12-26 23:30:27 +08:00
fix stream docs (#182)
This commit is contained in:
parent
6cea734154
commit
31daef6c63
@ -37,8 +37,8 @@ type MuxedStream interface {
|
||||
// Reset.
|
||||
CloseWrite() error
|
||||
|
||||
// CloseRead closes the stream for writing but leaves it open for
|
||||
// reading.
|
||||
// CloseRead closes the stream for reading but leaves it open for
|
||||
// writing.
|
||||
//
|
||||
// CloseRead does not free the stream, users must still call Close or
|
||||
// Reset.
|
||||
|
Loading…
Reference in New Issue
Block a user