type github.com/go-redis/redis/v8/internal/pool.SingleConnPool
13 uses
github.com/go-redis/redis/v8/internal/pool (current package)
pool_single.go#L5: type SingleConnPool struct {
pool_single.go#L11: var _ Pooler = (*SingleConnPool)(nil)
pool_single.go#L13: func NewSingleConnPool(pool Pooler, cn *Conn) *SingleConnPool {
pool_single.go#L14: return &SingleConnPool{
pool_single.go#L20: func (p *SingleConnPool) NewConn(ctx context.Context) (*Conn, error) {
pool_single.go#L24: func (p *SingleConnPool) CloseConn(cn *Conn) error {
pool_single.go#L28: func (p *SingleConnPool) Get(ctx context.Context) (*Conn, error) {
pool_single.go#L35: func (p *SingleConnPool) Put(ctx context.Context, cn *Conn) {}
pool_single.go#L37: func (p *SingleConnPool) Remove(ctx context.Context, cn *Conn, reason error) {
pool_single.go#L42: func (p *SingleConnPool) Close() error {
pool_single.go#L48: func (p *SingleConnPool) Len() int {
pool_single.go#L52: func (p *SingleConnPool) IdleLen() int {
pool_single.go#L56: func (p *SingleConnPool) Stats() *Stats {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |