func SocketHandler(hub *SocketHub) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		ServeWebsocket(hub, w, r)
	}
}
// SocketHandler attaches websocket handler to uri
SocketHandler attaches websocket handler to uri
// SocketHandler attaches websocket handler to uri
func SocketHandler(hub *SocketHub) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		ServeWebsocket(hub, w, r)
	}
}
func SocketHandler ( hub * SocketHub ) http . HandlerFunc { return func ( w http . ResponseWriter , r * http . Request ) { ServeWebsocket ( hub , w , r ) } }
SocketHandler attaches websocket handler to uri
SocketHandler attaches websocket handler to uri