tcpinfox

package
v0.13.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL