Documentation
¶
Index ¶
- type Cedis
- type Option
- func WithCellProxies(value ...string) Option
- func WithDailTimeout(value time.Duration) Option
- func WithIdleTimeout(value time.Duration) Option
- func WithMaxActive(value int) Option
- func WithMaxIdle(value int) Option
- func WithReadTimeout(value time.Duration) Option
- func WithWriteTimeout(value time.Duration) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cedis ¶
type Cedis struct {
// contains filtered or unexported fields
}
Cedis Elasticell redis client
type Option ¶
type Option func(*options)
Option Elasticell redis client option
func WithCellProxies ¶
WithCellProxies set elasticell proxy address
func WithDailTimeout ¶
WithDailTimeout set dail timeout for connection
func WithIdleTimeout ¶
WithIdleTimeout set max idle conn per elasticell proxy
func WithMaxActive ¶
WithMaxActive set max active conn per elasticell proxy
func WithMaxIdle ¶
WithMaxIdle set max idle conn per elasticell proxy
func WithReadTimeout ¶
WithReadTimeout set read timeout for connection
Click to show internal directories.
Click to hide internal directories.