Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hostsSorted (0.17 sec)

  1. cmd/endpoint.go

    				continue
    			}
    			foundSet.Add(endpoint.Hostname())
    		}
    	}
    	return foundSet.ToSlice()
    }
    
    // hostsSorted will return all hosts found.
    // The LOCAL host will be nil, but the indexes of all hosts should
    // remain consistent across the cluster.
    func (l EndpointServerPools) hostsSorted() []*xnet.Host {
    	peers, localPeer := l.peers()
    	sort.Strings(peers)
    	hosts := make([]*xnet.Host, len(peers))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top