Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager[U comparable] struct { // contains filtered or unexported fields }
func NewManager ¶
func NewManager[U comparable]() *Manager[U]
func (*Manager[U]) ReadTraffics ¶
func (*Manager[U]) TrackConnection ¶
func (*Manager[U]) TrackPacketConnection ¶
func (m *Manager[U]) TrackPacketConnection(user U, conn N.PacketConn) N.PacketConn
type TrackPacketConn ¶
type TrackPacketConn struct { N.PacketConn *Traffic }
func (*TrackPacketConn) ReadPacket ¶
func (*TrackPacketConn) Upstream ¶
func (c *TrackPacketConn) Upstream() any
func (*TrackPacketConn) WritePacket ¶
Click to show internal directories.
Click to hide internal directories.