Documentation ¶
Overview ¶
Code generated by swagger_to. DO NOT EDIT.
Code generated by swagger_to. DO NOT EDIT.
Code generated by swagger_to. DO NOT EDIT.
Code generated by swagger_to. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRouter ¶
SetupRouter sets up a router. If you don't use any middleware, you are good to go. Otherwise, you need to maually re-implement this function with your middlewares.
func ValidateAgainstEmptyObjectSchema ¶
ValidateAgainstEmptyObjectSchema validates a message coming from the client against EmptyObject schema.
func WrapTestMe ¶
func WrapTestMe(h Handler, w http.ResponseWriter, r *http.Request)
WrapTestMe wraps the path `/products` with the method "get".
Path description: is a test endpoint.
Types ¶
type Handler ¶
type Handler interface { // TestMe handles the path `/products` with the method "get". // // Path description: // is a test endpoint. TestMe(w http.ResponseWriter, r *http.Request, emptyObject EmptyObject) }
Handler defines an interface to handling the routes.
Click to show internal directories.
Click to hide internal directories.