Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPacketConnCounter ¶
func NewPacketConnCounter(conn network.PacketConn, l *ratelimit.Bucket) network.PacketConn
Types ¶
type PacketConnCounter ¶
type PacketConnCounter struct { network.PacketConn // contains filtered or unexported fields }
func (*PacketConnCounter) ReadPacket ¶
func (*PacketConnCounter) WritePacket ¶
Click to show internal directories.
Click to hide internal directories.