Documentation ¶
Index ¶
- Variables
- func AboutViewHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func HomeViewHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func LoginActionHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func LoginViewHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func LogoutActionHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func NewRouter() *httprouter.Router
- func SignupActionHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func SignupViewHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- type Signup
- type SignupData
Constants ¶
This section is empty.
Variables ¶
View Source
var Router = NewRouter()
Functions ¶
func AboutViewHandler ¶
func AboutViewHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
AboutViewHandler handles GET requests to "/about/"
func HomeViewHandler ¶
func HomeViewHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
HomeViewHandler handles GET requests to "/"
func LoginActionHandler ¶
func LoginActionHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
LoginActionHandler handles POST requests to "/login/"
func LoginViewHandler ¶
func LoginViewHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
LoginViewHandler handles GET requests to "/login/"
func LogoutActionHandler ¶
func LogoutActionHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
LogoutActionHandler handles POST requests to "/logout/"
func SignupActionHandler ¶
func SignupActionHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func SignupViewHandler ¶
func SignupViewHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Types ¶
type SignupData ¶
Click to show internal directories.
Click to hide internal directories.