Documentation ¶
Index ¶
Constants ¶
View Source
const ErrorTag = "gogstash_input_nats_error"
ErrorTag tag added to event when process module failed
View Source
const ModuleName = "nats"
ModuleName is the name used in config file
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InputConfig ¶
type InputConfig struct { config.InputConfig Host string `json:"host"` // redis server host:port, default: "localhost:6379" Creds string `json:"creds"` // where to get data, default: "gogstash" Topic string `json:"topic"` // topics to receive // 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.