Documentation ¶
Index ¶
- func ClearCookie(response http.ResponseWriter)
- func GetUserName(request *http.Request) (userName string)
- func IndexPageHandler(response http.ResponseWriter, request *http.Request)
- func InitDB()
- func LoginHandler(response http.ResponseWriter, request *http.Request)
- func LoginPageHandler(response http.ResponseWriter, request *http.Request)
- func LogoutHandler(response http.ResponseWriter, request *http.Request)
- func RegisterHandler(w http.ResponseWriter, r *http.Request)
- func SetCookie(userName string, response http.ResponseWriter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearCookie ¶
func ClearCookie(response http.ResponseWriter)
func GetUserName ¶
func IndexPageHandler ¶
func IndexPageHandler(response http.ResponseWriter, request *http.Request)
func LoginHandler ¶
func LoginHandler(response http.ResponseWriter, request *http.Request)
func LoginPageHandler ¶
func LoginPageHandler(response http.ResponseWriter, request *http.Request)
func LogoutHandler ¶
func LogoutHandler(response http.ResponseWriter, request *http.Request)
func RegisterHandler ¶
func RegisterHandler(w http.ResponseWriter, r *http.Request)
func SetCookie ¶
func SetCookie(userName string, response http.ResponseWriter)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.