Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
address aarshian nitpicks
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Feb 17, 2021
1 parent 430e253 commit c7a93c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions network/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ type ConnMultiaddrs interface {
RemoteMultiaddr() ma.Multiaddr
}

// ConnStat is an interface mixin for connection types that provide connection statistics.
type ConnStat interface {
// Stat stores metadata pertaining to this conn.
Stat() Stat
Expand Down
2 changes: 1 addition & 1 deletion network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ type Stat struct {
Direction Direction
// Opened is the timestamp when this connection was opened.
Opened time.Time
// Transient indicates that this connection is transient and may be closed soon
// Transient indicates that this connection is transient and may be closed soon.
Transient bool
// Extra stores additional metadata about this connection.
Extra map[interface{}]interface{}
Expand Down

0 comments on commit c7a93c4

Please sign in to comment.