Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "nsq"
ModuleName is the name used in config file
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InputConfig ¶
type InputConfig struct { config.InputConfig NSQ string `json:"nsq" yaml:"nsq"` // NSQd to connect to Lookupd string `json:"lookupd" yaml:"lookupd"` // lookupd to connect to, can be a NSQd or lookupd Topic string `json:"topic" yaml:"topic"` // topic to listen from Channel string `json:"channel" yaml:"channel"` // channel to subscribe to InFlight uint `json:"max_inflight" yaml:"max_inflight"` // max number of messages inflight // contains filtered or unexported fields }
InputConfig holds the configuration json fields and internal objects
func DefaultInputConfig ¶
func DefaultInputConfig() InputConfig
DefaultInputConfig returns an InputConfig struct with default values
Click to show internal directories.
Click to hide internal directories.