Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct { *nsq.Consumer Conf ConsumerConfig }
type ConsumerConfig ¶
type ConsumerConfig struct { NSQLookupdAddrs []string NSQdAddrs []string Topic string Channel string *nsq.Config }
func (*ConsumerConfig) Build ¶
func (c *ConsumerConfig) Build() *nsq.Consumer
func (*ConsumerConfig) Init ¶ added in v1.4.0
func (c *ConsumerConfig) Init()
func (*ConsumerConfig) InitBeforeInject ¶
func (c *ConsumerConfig) InitBeforeInject()
type Producer ¶
type Producer struct { *nsq.Producer Conf ProducerConfig }
type ProducerConfig ¶
type ProducerConfig struct { Addr string *nsq.Config }
func (*ProducerConfig) Build ¶
func (c *ProducerConfig) Build() *nsq.Producer
func (*ProducerConfig) Init ¶ added in v1.4.0
func (c *ProducerConfig) Init()
func (*ProducerConfig) InitBeforeInject ¶
func (c *ProducerConfig) InitBeforeInject()
Click to show internal directories.
Click to hide internal directories.