Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProducer ¶
NewProducer for NSQ.
func RegisterConsumer ¶
func RegisterConsumer(lc fx.Lifecycle, params *ConsumerParams) error
RegisterConsumer for NSQ.
Types ¶
type Config ¶ added in v1.19.0
type ConsumerParams ¶
type ConsumerParams struct { Config *Config Logger *zap.Logger Topic string Channel string Handler handler.Handler }
ConsumerParams for NSQ.
type ProducerParams ¶
ProducerParams for NSQ.
Click to show internal directories.
Click to hide internal directories.