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