Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthRequired ¶
AuthRequired is a simple middleware to check the session
func Login ¶
func Login(apiPwd string) gin.HandlerFunc
Login creates a user session, logging them in given the right username and password
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.