Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RouteHandler ¶
func RouteHandler(f RouteFunc) restful.RouteFunction
RouteHandler creates a wrapper function for route methods. This allows route methods to return errors and have them handled correctly.
Types ¶
type Handler ¶
type Handler func(request *restful.Request, response *restful.Response)
Handler represents the way a route function should actually be written.
Click to show internal directories.
Click to hide internal directories.