code: func (cs *clientStore) getClients() map[string]*client {
  	cs.RLock()
  	defer cs.RUnlock()
  	clients := make(map[string]*client, len(cs.clients))
  	for _, c := range cs.clients {
  		clients[c.info.ID] = c
  	}
  	return clients
  }
docs: // getClients returns a snapshot of the registered clients.
  // The map itself is a copy (can be iterated safely), but
  // the clients objects returned are the one stored in the clientStore.