Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
AuthMiddleware is a Gin middleware function for JWT authentication
func CheckUser ¶
CheckUser middleware checks for the authorization header and attaches the user's email to the context.
func RequireUser ¶
RequireUser middleware ensures that the user's email is present in the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.