Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GridHosts (0.16 sec)

  1. cmd/grid.go

    // globalGridStart is a channel that will block startup of grid connections until closed.
    var globalGridStart = make(chan struct{})
    
    func initGlobalGrid(ctx context.Context, eps EndpointServerPools) error {
    	hosts, local := eps.GridHosts()
    	g, err := grid.NewManager(ctx, grid.ManagerOptions{
    		Dialer:       grid.ContextDialer(xhttp.DialContextWithLookupHost(globalDNSCache.LookupHost, xhttp.NewInternodeDialContext(rest.DefaultTimeout, globalTCPOptions))),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    	for _, ep := range l {
    		count += len(ep.Endpoints)
    	}
    	return count
    }
    
    // GridHosts will return all peers, including local.
    // in websocket grid compatible format, The local peer
    // is returned as a separate string.
    func (l EndpointServerPools) GridHosts() (gridHosts []string, gridLocal string) {
    	seenHosts := set.NewStringSet()
    	for _, ep := range l {
    		for _, endpoint := range ep.Endpoints {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top