Documentation ¶
Index ¶
Constants ¶
View Source
const (
AppName = "redis"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Redis ¶ added in v2.0.18
type Redis struct { ioc.ObjectImpl Endpoints []string `toml:"endpoints" json:"endpoints" yaml:"endpoints" env:"ENDPOINTS" envSeparator:","` DB int `toml:"db" json:"db" yaml:"db" env:"DB"` UserName string `toml:"username" json:"username" yaml:"username" env:"USERNAME"` Password string `toml:"password" json:"password" yaml:"password" env:"PASSWORD"` Trace bool `toml:"trace" json:"trace" yaml:"trace" env:"TRACE"` Metric bool `toml:"metric" json:"metric" yaml:"metric" env:"METRIC"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.