Documentation
¶
Overview ¶
The measurer package provides functions to periodically read kernel metrics for a given network connection and return them over a channel wrapped in an throughput1 Measurement object.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
Start starts a measurer goroutine that periodically reads the tcp_info and bbr_info kernel structs for the connection, if available, and sends them wrapped in a Measurement over the returned channel.
The context determines the measurer goroutine's lifetime. If passed a connection that is not a netx.Conn, this function will panic.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.