Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "redis"
)
Variables ¶
This section is empty.
Functions ¶
func InitHandler ¶
func InitHandler(confraw *config.ConfigRaw) (retconf config.TypeOutputConfig, err error)
Types ¶
type OutputConfig ¶
type OutputConfig struct { config.OutputConfig Key string `json:"key"` Host []string `json:"host"` DataType string `json:"data_type,omitempty"` // one of ["list", "channel"] Timeout int `json:"timeout,omitempty"` ReconnectInterval int `json:"reconnect_interval,omitempty"` // contains filtered or unexported fields }
func DefaultOutputConfig ¶
func DefaultOutputConfig() OutputConfig
Click to show internal directories.
Click to hide internal directories.