Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func AuthMiddleware() gin.HandlerFunc
AuthMiddleware checks if the Authorization header's token matches the given configured token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.