Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindMiddleware ¶
func BindMiddleware(field interface{}, errorWriter ...func(web.ResponseWriter, error, map[string]rv.Field)) func( interface{}, web.ResponseWriter, *web.Request, web.NextMiddlewareFunc)
BindMiddleware creates an rv.RequestHandler for the specified field type and returns a middleware which finds a field of that type on the context and binds the values to that field via the RequestHandler.
func ErrorWriter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.