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