Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PutBucketNotificationHandler (0.93 sec)

  1. cmd/peer-rest-server.go

    	cache, err := localMetacacheMgr.updateCacheEntry(*req)
    	if err != nil {
    		return nil, grid.NewRemoteErr(err)
    	}
    	return &cache, nil
    }
    
    // PutBucketNotificationHandler - Set bucket policy.
    func (s *peerRESTServer) PutBucketNotificationHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    	vars := mux.Vars(r)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 53.4K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    		case "PutBucketNotification":
    			// Register PutBucketNotification Handler.
    			bucket.Methods(http.MethodPut).HandlerFunc(api.PutBucketNotificationHandler).Queries("notification", "")
    		case "ListenNotification":
    			// Register ListenNotification Handler.
    			bucket.Methods(http.MethodGet).HandlerFunc(api.ListenNotificationHandler).Queries("events", "{events:.*}")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
Back to top