Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/notification.go

    	for _, online := range nodesOnlineIndex {
    		if online {
    			nodesOnline++
    		} else {
    			nodesOffline++
    		}
    	}
    	return
    }
    
    // NewNotificationSys - creates new notification system object.
    func NewNotificationSys(endpoints EndpointServerPools) *NotificationSys {
    	remote, all := newPeerRestClients(endpoints)
    	return &NotificationSys{
    		peerClients:    remote,
    		allPeerClients: all,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  2. cmd/server-main.go

    }
    
    func initAllSubsystems(ctx context.Context) {
    	// Initialize notification peer targets
    	globalNotificationSys = NewNotificationSys(globalEndpoints)
    
    	// Create new notification system
    	globalEventNotifier = NewEventNotifier(GlobalContext)
    
    	// Create new bucket metadata system.
    	if globalBucketMetadataSys == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top