mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user