fixup: expose api context fields

This commit is contained in:
Adrien Marquès 2021-04-18 19:31:40 +02:00
parent 0a55c2ee13
commit 939ab2e57d
1 changed files with 2 additions and 2 deletions

View File

@ -12,6 +12,6 @@ import (
// If required, set api.Ctx as the first argument of your handler; if you
// don't need it, only use standard input arguments and it will be ignored
type Ctx struct {
w http.ResponseWriter
r *http.Request
Res http.ResponseWriter
Req *http.Request
}