commit
d6fed41e8d
@ -39,7 +39,7 @@ type apiEndpoint func(
|
||||
httprouter.Params,
|
||||
) (response, error)
|
||||
|
||||
// Wrap handler for access control, throtteling and compression
|
||||
// Wrap handler for access control, throttling and compression
|
||||
func endpoint(wrapped apiEndpoint) httprouter.Handle {
|
||||
return func(res http.ResponseWriter,
|
||||
req *http.Request,
|
||||
|
Loading…
x
Reference in New Issue
Block a user