We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a029c7 commit 795b3ccCopy full SHA for 795b3cc
core/commands/swarm.go
@@ -88,6 +88,11 @@ var swarmPeersCmd = &cmds.Command{
88
Peer: pid.Pretty(),
89
}
90
91
+ swcon, ok := c.(*swarm.Conn)
92
+ if ok {
93
+ ci.Muxer = fmt.Sprintf("%T", swcon.StreamConn().Conn())
94
+ }
95
+
96
if verbose || latency {
97
ci.Latency = n.Peerstore.LatencyEWMA(pid).String()
98
@@ -147,6 +152,7 @@ type connInfo struct {
147
152
Addr string
148
153
Peer string
149
154
Latency string
155
+ Muxer string
150
156
Streams []streamInfo
151
157
158
0 commit comments