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 (conf *ConsumerConfig) Build() *nsq.Consumer
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 (conf *ProducerConfig) Build() *nsq.Producer
Click to show internal directories.
Click to hide internal directories.