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