Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewEventNotifier (0.25 sec)

  1. cmd/event-notification.go

    type EventNotifier struct {
    	sync.RWMutex
    	targetList     *event.TargetList
    	bucketRulesMap map[string]event.RulesMap
    }
    
    // NewEventNotifier - creates new event notification object.
    func NewEventNotifier(ctx context.Context) *EventNotifier {
    	// targetList/bucketRulesMap/bucketRemoteTargetRulesMap are populated by NotificationSys.InitBucketTargets()
    	return &EventNotifier{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K 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 {
    		globalBucketMetadataSys = NewBucketMetadataSys()
    	} else {
    		// Reinitialize safely when testing.
    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