Documentation ¶
Overview ¶
Package throttle implements helpers for throttling uploads and downloads.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRoundTripper ¶
func NewRoundTripper(base http.RoundTripper, downloadPool, uploadPool throttlerPool) http.RoundTripper
NewRoundTripper returns http.RoundTripper that throttles upload and downloads.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.