github.com/go-redis/redis/v8/internal/pool.Conn.deadline (method)
3 uses
github.com/go-redis/redis/v8/internal/pool (current package)
conn.go#L66: if err := cn.netConn.SetReadDeadline(cn.deadline(ctx, timeout)); err != nil {
conn.go#L80: if err := cn.netConn.SetWriteDeadline(cn.deadline(ctx, timeout)); err != nil {
conn.go#L106: func (cn *Conn) deadline(ctx context.Context, timeout time.Duration) time.Time {
 |
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. |