github.com/go-redis/redis/v8/internal/pool.StickyConnPool.shared (field)
3 uses
github.com/go-redis/redis/v8/internal/pool (current package)
pool_sticky.go#L38: shared int32 // atomic
pool_sticky.go#L56: atomic.AddInt32(&p.shared, 1)
pool_sticky.go#L127: if shared := atomic.AddInt32(&p.shared, -1); shared > 0 {
![]() |
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. |