Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORS ¶
func CORS() gin.HandlerFunc
CORS is a handler Gin func to setup Cross-Origin Resource Sharing by allowing all origins
func Negotiate ¶
func Negotiate(formats ...string) gin.HandlerFunc
Negotiate sets the request format into the context depending on Accept Header
func Pagination ¶
func Pagination() gin.HandlerFunc
Pagination is a handler Gin func to extract pagination params from the request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.