Documentation ¶
Index ¶
- func Forbidden(w http.ResponseWriter, r *http.Request)
- func Index(w http.ResponseWriter, r *http.Request)
- func Login(w http.ResponseWriter, r *http.Request)
- func Logout(w http.ResponseWriter, r *http.Request)
- func Secret(w http.ResponseWriter, r *http.Request)
- func Signin(w http.ResponseWriter, r *http.Request)
- func Signup(w http.ResponseWriter, r *http.Request)
- func SignupGet(w http.ResponseWriter, r *http.Request)
- func SignupPost(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Index ¶
func Index(w http.ResponseWriter, r *http.Request)
Index renders the index page chore: set to login page
func Login ¶
func Login(w http.ResponseWriter, r *http.Request)
Login authenticates user login credentials
func Logout ¶
func Logout(w http.ResponseWriter, r *http.Request)
Logout revokes authentication for a user
func Secret ¶
func Secret(w http.ResponseWriter, r *http.Request)
Secret renders a hidden message chore: To be removed
func Signup ¶
func Signup(w http.ResponseWriter, r *http.Request)
Signup sWitches between requests get and post in SignupGet and SignupPost
func SignupGet ¶
func SignupGet(w http.ResponseWriter, r *http.Request)
SignupGet renders the signup ppage
func SignupPost ¶
func SignupPost(w http.ResponseWriter, r *http.Request)
SignupPost registers a new user in the database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.