Documentation ¶ Index ¶ func AuthMiddleware(accessControlService *accesscontrol.Service) gin.HandlerFunc func CORS() gin.HandlerFunc func ErrLogger() gin.HandlerFunc func Errors(shutdown chan os.Signal) gin.HandlerFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AuthMiddleware ¶ func AuthMiddleware(accessControlService *accesscontrol.Service) gin.HandlerFunc func CORS ¶ func CORS() gin.HandlerFunc func ErrLogger ¶ func ErrLogger() gin.HandlerFunc ErrLogger is a middleware that logs errors func Errors ¶ func Errors(shutdown chan os.Signal) gin.HandlerFunc Errors handles errors coming out of the call stack. It detects safe application errors (aka SafeError) that are used to respond to the requester in a normalized way. Unexpected errors (status >= 500) are logged. Types ¶ This section is empty. Source Files ¶ View all Source files auth.go cors.go errors.go Click to show internal directories. Click to hide internal directories.