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 `init:"entity"` Conf ConsumerConfig `init:"config"` }
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) InitAfterInject ¶
func (c *ConsumerConfig) InitAfterInject()
func (*ConsumerConfig) InitBeforeInject ¶
func (c *ConsumerConfig) InitBeforeInject()
type Producer ¶
type Producer struct { *nsq.Producer `init:"entity"` Conf ProducerConfig `init:"config"` }
type ProducerConfig ¶
type ProducerConfig struct { Addr string *nsq.Config }
func (*ProducerConfig) Build ¶
func (c *ProducerConfig) Build() *nsq.Producer
func (*ProducerConfig) InitAfterInject ¶
func (c *ProducerConfig) InitAfterInject()
func (*ProducerConfig) InitBeforeInject ¶
func (c *ProducerConfig) InitBeforeInject()
Click to show internal directories.
Click to hide internal directories.