NATSResponse

This commit is contained in:
mr
2026-01-28 15:08:07 +01:00
parent d098d253d8
commit 1c9d7b63c0

View File

@@ -92,7 +92,7 @@ func (s *natsCaller) ListenNats(execs map[NATSMethod]func(map[string]string)) {
} }
// SetNATSPub sets a message to the NATS server // SetNATSPub sets a message to the NATS server
func (o *natsCaller) SetNATSPub(method NATSMethod, data interface{}) string { func (o *natsCaller) SetNATSPub(method NATSMethod, data NATSResponse) string {
if config.GetConfig().NATSUrl == "" { if config.GetConfig().NATSUrl == "" {
return " -> NATS_SERVER is not set" return " -> NATS_SERVER is not set"
} }