Documentation ¶
Index ¶
- type ApiController
- type MainController
- func (controller *MainController) Index(c web.C, r *http.Request) (string, int)
- func (controller *MainController) Logout(c web.C, r *http.Request) (string, int)
- func (controller *MainController) SignIn(c web.C, r *http.Request) (string, int)
- func (controller *MainController) SignInPost(c web.C, r *http.Request) (string, int)
- func (controller *MainController) SignUp(c web.C, r *http.Request) (string, int)
- func (controller *MainController) SignUpPost(c web.C, r *http.Request) (string, int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiController ¶
type ApiController struct {
system.Controller
}
type MainController ¶
type MainController struct {
system.Controller
}
func (*MainController) SignInPost ¶
Sign In form submit route. Logs user in or set appropriate message in session if login was not succesful
func (*MainController) SignUpPost ¶
Sign Up form submit route. Registers new user or shows Sign Up route with appropriate messages set in session
Click to show internal directories.
Click to hide internal directories.