code: func (s *Server) Stats() ServerStats {
  	s.mu.Lock()
  	defer s.mu.Unlock()
  	ss := s.stats
  	ss.GoodNodes = s.numGoodNodes()
  	ss.Nodes = s.numNodes()
  	ss.OutstandingTransactions = len(s.transactions)
  	return ss
  }
docs: // Stats returns statistics for the server.