(stats StatsReport)
| 804 | } |
| 805 | |
| 806 | func (s *Server) collectStats(stats StatsReport) { |
| 807 | if s.StatsCollector != nil { |
| 808 | s.StatsCollector.Collect(stats) |
| 809 | } |
| 810 | } |
| 811 | |
| 812 | // wsNetConn wraps net.Conn created by websocket.NetConn(). Cancel func |
| 813 | // is called if a read or write error is encountered. |
no test coverage detected