This commit is contained in:
eson
2023-09-01 10:48:00 +08:00
parent 2d62681600
commit aa4a48b68a
3 changed files with 27 additions and 1 deletions

View File

@@ -27,6 +27,8 @@ type queueItem struct {
var mapMq = make(map[constants.RABBIT_MQ]queueItem)
func InitRabbitMq(url string, config *tls.Config) *RabbitMqHandle {
return nil
url = strings.Trim(url, " ")
if url == "" {
return nil