nsq/caller.go
@@ -49,3 +49,14 @@ } } } func (caller *DefaultCaller) Send(input interface{}) error { msg, err := json.Marshal(input) if err != nil { return err } producer := GetProducer() err = producer.Publish(caller.RequestTopic, msg) return err }