Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetNotifyWebhook (0.05 sec)

  1. internal/config/notify/legacy.go

    			Value: cfg.QueueDir,
    		},
    		config.KV{
    			Key:   target.RedisQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    	}
    
    	return nil
    }
    
    // SetNotifyWebhook - helper for config migration from older config.
    func SetNotifyWebhook(s config.Config, whName string, cfg target.WebhookArgs) error {
    	if !cfg.Enable {
    		return nil
    	}
    
    	if err := cfg.Validate(); err != nil {
    		return err
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Apr 27 04:30:57 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top