// Close closes web socket server and all connections
Close closes web socket server and all connections
// Close closes web socket server and all connections
func (server *Server) Close() {
	server.Lock()
	defer server.Unlock()
	server.wsServer.Close()
	server.dataProvider.Close()
}
func ( server * Server ) Close ( ) { server . Lock ( ) defer server . Unlock ( ) server . wsServer . Close ( ) server . dataProvider . Close ( ) }
Close closes web socket server and all connections
Close closes web socket server and all connections