NATSResponse
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user