Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LimitConcurrent ¶
func LimitConcurrent(base http.RoundTripper, max int) http.RoundTripper
LimitConcurrent returns an HTTP round-tripper permitting up to max concurrent requests. All other requests need to wait. A max of zero or less disables the limitation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.