Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { context.Context ExtendedContext }
Context is the interface of web app context
type ExtendedContext ¶ added in v0.11.0
type ExtendedContext interface { //RequestBody(data interface{}) error //RequestForm(data interface{}) error //RequestParams(request interface{}) error ResponseString(s string) ResponseBody(message string, data interface{}) ResponseError(message string, code int) WrapHandler(h http.Handler) SetAnnotations(ann interface{}) SetURLParam(name, value string) Annotations() interface{} }
ExtendedContext extended context
Click to show internal directories.
Click to hide internal directories.