Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LimitedReader ¶
type LimitedReader struct {
// contains filtered or unexported fields
}
func NewReadLimiter ¶
func NewReadLimiter(r io.Reader, b *ratelimit.Bucket) *LimitedReader
type LimitedWriter ¶
type LimitedWriter struct {
// contains filtered or unexported fields
}
func NewWriteLimiter ¶
func NewWriteLimiter(w io.Writer, b *ratelimit.Bucket) *LimitedWriter
type ListenerFactory ¶
Click to show internal directories.
Click to hide internal directories.