package
Version:
v0.0.0-...-0a934e1
Opens a new window with list of versions in this module.
Published: Jan 17, 2023
License: MPL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewConsumerClient() *consumer
func NewNsqClient() *nsqClient
type NsqClient interface {
NsqProducer() (*nsq.Producer, error)
NsqConsumer(topic string, ch string) (*nsq.Consumer, error)
GetNsqProducerLink() string
GetNsqConsumerLink() string
}
type Publish interface {
PublishMsg(topic string, msg interface{}) (err error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.