Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandling ¶
func HealthCheck ¶
func IsNotFound ¶
func SetRequestID ¶
func SetRequestID() gin.HandlerFunc
Types ¶
type Authenticator ¶
type Authenticator interface { Authentication() gin.HandlerFunc Authorization() gin.HandlerFunc HasAdminRole() gin.HandlerFunc }
func NewAuthenticator ¶
func NewAuthenticator(fa *authentication.Auth) Authenticator
Click to show internal directories.
Click to hide internal directories.