Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RedisDB redis.UniversalClient
Functions ¶
Types ¶
type RedisConfig ¶
type RedisConfig struct { DimensionResourceDatabase int `default:"2" yaml:"dimension_resource_database"` Host []string `default:"" yaml:"host"` // TODO add default value Port uint32 `default:"6379" yaml:"port"` Password string `default:"deepflow" yaml:"password"` TimeOut uint32 `default:"30" yaml:"timeout"` Enabled bool `default:"false" yaml:"enabled"` ClusterEnabled bool `default:"false" yaml:"cluster_enabled"` }
Click to show internal directories.
Click to hide internal directories.