Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProducer ¶
func NewProducer(params *ProducerParams) (producer.Producer, error)
NewProducer for NSQ. nolint:ireturn
func RegisterConsumer ¶
func RegisterConsumer(params *ConsumerParams) error
RegisterConsumer for NSQ.
Types ¶
type ConsumerParams ¶
type ConsumerParams struct { Lifecycle fx.Lifecycle Config *Config Logger *zap.Logger Topic string Channel string Tracer sopentracing.TransportTracer Handler handler.Handler }
ConsumerParams for NSQ.
type ProducerParams ¶
type ProducerParams struct { Lifecycle fx.Lifecycle Config *Config Logger *zap.Logger Tracer sopentracing.TransportTracer }
ProducerParams for NSQ.
Click to show internal directories.
Click to hide internal directories.