Versions in this module Expand all Collapse all v1 v1.0.0 Dec 19, 2023 Changes in this version + func SetKeepAlive(c net.Conn, idleTime time.Duration, count int, interval time.Duration) (err error) + type Conn struct + func EnableKeepAlive(conn net.Conn) (*Conn, error) + func (c *Conn) SetKeepAliveCount(n int) error + func (c *Conn) SetKeepAliveIdle(d time.Duration) error + func (c *Conn) SetKeepAliveInterval(d time.Duration) error