Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for SetNotifyMQTT (0.55 seconds)

  1. internal/config/notify/legacy.go

    		},
    		config.KV{
    			Key:   target.MySQLMaxOpenConnections,
    			Value: strconv.Itoa(cfg.MaxOpenConnections),
    		},
    	}
    
    	return nil
    }
    
    // SetNotifyMQTT - helper for config migration from older config.
    func SetNotifyMQTT(s config.Config, mqttName string, cfg target.MQTTArgs) error {
    	if !cfg.Enable {
    		return nil
    	}
    
    	if err := cfg.Validate(); err != nil {
    		return err
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 13.3K bytes
    - Click Count (0)
Back to Top