Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReader ¶
func NewReader(rs io.ReadSeeker, l *rate.Limiter) io.ReadSeeker
NewReader returns a reader that is rate limited by the given token bucket. Each token in the bucket represents one byte.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.