Versions in this module Expand all Collapse all v0 v0.1.0 Jun 22, 2023 Changes in this version + type Limiter interface + Allow func(n int) bool + type RateLimitedConn struct + func NewRateLimitedConn(conn net.Conn, bandwidthLimiter Limiter, logger commontypes.Logger) *RateLimitedConn + func (r *RateLimitedConn) EnableRateLimiting() + func (r *RateLimitedConn) Read(b []byte) (n int, err error)