net.Dialer.KeepAlive (field)
10 uses
net (current package)
dial.go#L80: KeepAlive time.Duration
dial.go#L431: if tc, ok := c.(*TCPConn); ok && d.KeepAlive >= 0 {
dial.go#L433: ka := d.KeepAlive
dial.go#L434: if d.KeepAlive == 0 {
net/http
transport.go#L46: KeepAlive: 30 * time.Second,
cloud.google.com/go/compute/metadata
metadata.go#L68: KeepAlive: 30 * time.Second,
github.com/aws/aws-sdk-go/aws/session
cabundle_transport.go#L18: KeepAlive: 30 * time.Second,
github.com/go-redis/redis/v8
options.go#L132: KeepAlive: 5 * time.Minute,
github.com/jackc/pgconn
config.go#L668: return &net.Dialer{KeepAlive: 5 * time.Minute}
google.golang.org/api/transport/http
dial.go#L201: KeepAlive: 30 * time.Second,
![]() |
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. |