Versions in this module Expand all Collapse all v0 v0.1.0 Oct 3, 2022 Changes in this version + func CORSMiddleware() gin.HandlerFunc + func ErrorHttp(c *gin.Context) + func JWTAuth(as services.AuthService, skippers ...SkipperFunc) gin.HandlerFunc + func JoinRouter(method, path string) string + func LoggerMiddleware(skippers ...SkipperFunc) gin.HandlerFunc + func SkipHandler(c *gin.Context, skippers ...SkipperFunc) bool + type SkipperFunc func(*gin.Context) bool + func AllowMethodAndPathPrefixSkipper(prefixes ...string) SkipperFunc + func AllowPathPrefixNoSkipper(prefixes ...string) SkipperFunc + func AllowPathPrefixSkipper(prefixes ...string) SkipperFunc