Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnMetric ¶
ConnMetric is a wrapper of a UDPConn that keeps track of RX and TX bytes.
func (*ConnMetric) ReadFromUDP ¶
ReadFromUDP acts like ReadFrom but returns a UDPAddr.
func (*ConnMetric) WriteToUDP ¶
WriteToUDP acts like WriteTo but takes a UDPAddr.
Click to show internal directories.
Click to hide internal directories.