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

Commit faf23c3

Browse files
committed
address aarshian nitpicks
1 parent 980a554 commit faf23c3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

network/conn.go

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ type ConnMultiaddrs interface {
6060
RemoteMultiaddr() ma.Multiaddr
6161
}
6262

63+
// ConnStat is an interface mixin for connection types that provide connection statistics.
6364
type ConnStat interface {
6465
// Stat stores metadata pertaining to this conn.
6566
Stat() Stat

network/network.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ type Stat struct {
103103
Direction Direction
104104
// Opened is the timestamp when this connection was opened.
105105
Opened time.Time
106-
// Transient indicates that this connection is transient and may be closed soon
106+
// Transient indicates that this connection is transient and may be closed soon.
107107
Transient bool
108108
// Extra stores additional metadata about this connection.
109109
Extra map[interface{}]interface{}

0 commit comments

Comments
 (0)