Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ParseURI (0.04 sec)

  1. internal/event/target/amqp.go

    	EnvAMQPQueueLimit        = "MINIO_NOTIFY_AMQP_QUEUE_LIMIT"
    )
    
    // Validate AMQP arguments
    func (a *AMQPArgs) Validate() error {
    	if !a.Enable {
    		return nil
    	}
    	if _, err := amqp091.ParseURI(a.URL.String()); err != nil {
    		return err
    	}
    	if a.QueueDir != "" {
    		if !filepath.IsAbs(a.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top