Documentation
¶
Index ¶
Constants ¶
View Source
const (
SessionUserID = "user_id"
)
Variables ¶
This section is empty.
Functions ¶
func RequireAuth ¶
func RequireAuth() gin.HandlerFunc
RequireAuth is a middleware that requires the user to be logged in
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.