Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildConsumer ¶
func BuildConsumer(consumers []Consumer)
func InitNsq ¶
func InitNsq(rc *RootConfig)
Types ¶
type MsgHandler ¶
func (MsgHandler) HandleMessage ¶
func (h MsgHandler) HandleMessage(message *nsq.Message) error
type RootConfig ¶
type RootConfig struct {
Config nsqConfig `yaml:"nsq"`
}
func NewConfig ¶
func NewConfig() *RootConfig
Click to show internal directories.
Click to hide internal directories.