Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GracefulCloseConn ¶
GracefulCloseConn performs a TCP half-close (CloseWrite), giving the remote end time to read any buffered data, then fully closes after gracePeriod. The abort channel can be used to skip the grace period; if nil or never closed, the full grace period is used. Falls back to immediate close for non-TCP connections.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.