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 64b8fe8 commit 99857e9Copy full SHA for 99857e9
http/pool.go
@@ -156,7 +156,8 @@ func (s *WSPool) RemoveClient(c WSSpeaker) {
156
func (s *WSPool) GetStatus() map[string]WSConnStatus {
157
clients := make(map[string]WSConnStatus)
158
for _, client := range s.GetSpeakers() {
159
- clients[client.GetHost()] = client.GetStatus()
+ a, _ := client.GetAddrPort()
160
+ clients[a] = client.GetStatus()
161
}
162
return clients
163
0 commit comments