Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProducer ¶
func NewProducer(params ProducerParams) producer.Producer
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 opentracing.Tracer Handler handler.Handler Marshaller marshaller.Marshaller }
ConsumerParams for NSQ.
type ProducerParams ¶
type ProducerParams struct { Lifecycle fx.Lifecycle Config *Config Logger *zap.Logger Tracer opentracing.Tracer Marshaller marshaller.Marshaller }
ProducerParams for NSQ.
Click to show internal directories.
Click to hide internal directories.