main
getConnections
func getConnections(w http.ResponseWriter, r *http.Request) { if !websocket.IsWebSocketUpgrade(r) { render.JSON(w, r, statistic.DefaultManager.Snapshot()) return }