Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CorsAllowAll ¶
func CorsAllowAll() gin.HandlerFunc
CorsAllowAll is a middleware that allows all origins
func HandleRoute ¶
func HandleRoute(engine *gin.RouterGroup, method, path string, handler gin.HandlerFunc, middleware []gin.HandlerFunc)
HandleRoute registers a route with the given method, path, handler and middleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.