Documentation
¶
Index ¶
Constants ¶
View Source
const (
AppName = "redis"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Redist ¶
type Redist struct {
ioc.ObjectImpl
Endpoints []string `toml:"endpoints" json:"endpoints" yaml:"endpoints" env:"ENDPOINTS" envSeparator:","`
Database int `toml:"database" json:"database" yaml:"database" env:"DATABASE"`
UserName string `toml:"username" json:"username" yaml:"username" env:"USERNAME"`
Password string `toml:"password" json:"password" yaml:"password" env:"PASSWORD"`
EnableTrace bool `toml:"enable_trace" json:"enable_trace" yaml:"enable_trace" env:"ENABLE_TRACE"`
EnableMetrics bool `toml:"enable_metrics" json:"enable_metrics" yaml:"enable_metrics" env:"ENABLE_METRICS"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.