Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for newPeerRestClients (0.33 seconds)

  1. cmd/peer-rest-client.go

    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // newPeerRestClients creates new peer clients.
    // The two slices will point to the same clients,
    // but 'all' will contain nil entry for local client.
    // The 'all' slice will be in the same order across the cluster.
    func newPeerRestClients(endpoints EndpointServerPools) (remote, all []*peerRESTClient) {
    	if !globalIsDistErasure {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  2. cmd/notification.go

    		}
    	}
    	return nodesOnline, nodesOffline
    }
    
    // NewNotificationSys - creates new notification system object.
    func NewNotificationSys(endpoints EndpointServerPools) *NotificationSys {
    	remote, all := newPeerRestClients(endpoints)
    	return &NotificationSys{
    		peerClients:    remote,
    		allPeerClients: all,
    	}
    }
    
    // GetBandwidthReports - gets the bandwidth report from all nodes including self.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
Back to Top