net.KeepAliveConfig.Enable (field)
5 uses
net (current package)
tcpsock.go#L134: Enable bool
tcpsock.go#L291: if !keepAliveCfg.Enable && keepAliveIdle >= 0 {
tcpsock.go#L293: Enable: true,
tcpsock.go#L298: if keepAliveCfg.Enable {
tcpsock_unix.go#L17: if err := setKeepAlive(c.fd, config.Enable); err != nil {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |