Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateClient = defaultNewClient
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.3.0
type Client struct { Client *redis.Client Cfg ClientConfig }
type ClientConfig ¶ added in v0.3.0
type Component ¶
type Component struct { DSNPrint bool Cfg ComponentConfig Clts map[string]*Client }
type ComponentConfig ¶ added in v0.3.0
type ComponentConfig struct { MaxReadTime int `json:"max_sock_read_time" yaml:"max_sock_read_time"` MaxWriteTime int `json:"max_sock_write_time" yaml:"max_sock_write_time"` MaxRequestTime int `json:"max_request_time" yaml:"max_request_time"` IdleCheckTime int `json:"idle_check_time" yaml:"idle_check_time"` SlowThreshold int `json:"slow_threshold" yaml:"slow_threshold"` }
Click to show internal directories.
Click to hide internal directories.