Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/config/notify/legacy.go

    			Value: cfg.Username,
    		},
    		config.KV{
    			Key:   target.ElasticPassword,
    			Value: cfg.Password,
    		},
    	}
    
    	return nil
    }
    
    // SetNotifyRedis - helper for config migration from older config.
    func SetNotifyRedis(s config.Config, redisName string, cfg target.RedisArgs) 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