//
pkg.gl
Category
github.com/nsadow311/stranger
common
fixedpool
package
0.30.1
Repository:
https://github.com/nsadow311/stranger.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
0
Files
170 SLOC
#
Functions
New
New creates a new Pool whose connections are all created using redis.Dial(network, addr).
NewCustom
NewCustom is like New except you can specify a DialFunc which will be used when creating new connections for the pool.
#
Structs
Pool
Pool is a simple connection pool for redis Clients.
#
Type aliases
DialFunc
DialFunc is a function which can be passed into NewCustom.