Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Commit

Permalink
document Conn.Close
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Sep 9, 2017
1 parent 78b5d54 commit cdb16ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions muxer.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ var NoOpHandler = func(s Stream) { s.Close() }

// Conn is a stream-multiplexing connection to a remote peer.
type Conn interface {
// Close the stream muxer.
// Close does not close the underlying net.Conn.
io.Closer

// IsClosed returns whether a connection is fully closed, so it can
Expand Down

0 comments on commit cdb16ee

Please sign in to comment.