Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReaderChain ¶
func SpeedlimitReader ¶
func SpeedlimitReader(maxSpeed int64) ReaderChain
SpeedlimitReader limits the reader to the maxSpeed of bytes per second.
type WriterChain ¶
func SpeedlimitWriter ¶
func SpeedlimitWriter(maxSpeed int64) WriterChain
SpeedlimitWriter limits the writer to the maxSpeed of bytes per second.
Click to show internal directories.
Click to hide internal directories.