Documentation ¶
Index ¶
- func WrapConn(limiter limiter.TrafficLimiter, c net.Conn) net.Conn
- func WrapListener(limiter limiter.TrafficLimiter, ln net.Listener) net.Listener
- func WrapPacketConn(lim limiter.TrafficLimiter, pc net.PacketConn) net.PacketConn
- func WrapUDPConn(limiter limiter.TrafficLimiter, pc net.PacketConn) udp.Conn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapListener ¶
func WrapPacketConn ¶
func WrapPacketConn(lim limiter.TrafficLimiter, pc net.PacketConn) net.PacketConn
func WrapUDPConn ¶
func WrapUDPConn(limiter limiter.TrafficLimiter, pc net.PacketConn) udp.Conn
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.