Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetNotifyMQTT (0.11 sec)

  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
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 04:37:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top