Documentation ¶
Overview ¶
Package tcpinfox helps to gather TCP_INFO statistics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSupport = errors.New("TCP_INFO not supported")
ErrNoSupport is returned on systems that do not support TCP_INFO.
Functions ¶
func GetTCPInfo ¶
func GetTCPInfo(fp *os.File) (*tcp.LinuxTCPInfo, error)
GetTCPInfo measures TCP_INFO metrics using |fp| and returns them. In case of error, instead, an error is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.