fixup: expose api context fields
This commit is contained in:
parent
0a55c2ee13
commit
939ab2e57d
|
@ -12,6 +12,6 @@ import (
|
||||||
// If required, set api.Ctx as the first argument of your handler; if you
|
// 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
|
// don't need it, only use standard input arguments and it will be ignored
|
||||||
type Ctx struct {
|
type Ctx struct {
|
||||||
w http.ResponseWriter
|
Res http.ResponseWriter
|
||||||
r *http.Request
|
Req *http.Request
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue