code: func (n *Net) activeListeners() ([]net.Listener, error) {
  	n.mutex.Lock()
  	defer n.mutex.Unlock()
  	ls := make([]net.Listener, len(n.active))
  	copy(ls, n.active)
  	return ls, nil
  }
docs: // activeListeners returns a snapshot copy of the active listeners.