Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LimitNumClients ¶
func LimitNumClients(f http.HandlerFunc, maxClients int) http.HandlerFunc
LimitNumClients is HTTP handling middleware that ensures no more than maxClients requests are passed concurrently to the given handler f.
Types ¶
Click to show internal directories.
Click to hide internal directories.