Documentation ¶
Index ¶
Constants ¶
View Source
const ( LoginPasswdErr = "wrong password" LoginUserErr = "user does not exist" LoginDbErr = "database connection failed" LoginInputErr = "username and password cannot be empty" LoginExpired = "User not logged in or login expired" )
Variables ¶
View Source
var LoginErrors = []string{LoginPasswdErr, LoginUserErr, LoginDbErr, LoginInputErr, LoginExpired}
Functions ¶
func InitRouter ¶
func InitRouter()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.