Documentation ¶
Index ¶
- func AddFlash(session *sessions.Session, t string, msg string)
- type Controller
- func (controller *Controller) DownloadInstaller(c web.C, r *http.Request) (string, int)
- func (controller *Controller) ForgotPassword(c web.C, r *http.Request) (string, int)
- func (controller *Controller) ForgotPasswordPost(c web.C, r *http.Request) (string, int)
- func (controller *Controller) Help(c web.C, r *http.Request) (string, int)
- func (controller *Controller) Index(c web.C, r *http.Request) (string, int)
- func (controller *Controller) Logout(c web.C, r *http.Request) (string, int)
- func (controller *Controller) PasswordReset(c web.C, r *http.Request) (string, int)
- func (controller *Controller) Privacy(c web.C, r *http.Request) (string, int)
- func (controller *Controller) Register(c web.C, r *http.Request) (string, int)
- func (controller *Controller) RegisterPost(c web.C, r *http.Request) (string, int)
- func (controller *Controller) SignIn(c web.C, r *http.Request) (string, int)
- func (controller *Controller) SignInPost(c web.C, r *http.Request) (string, int)
- func (controller *Controller) TermsAndConditions(c web.C, r *http.Request) (string, int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
system.Controller
}
Controller blah
func (*Controller) DownloadInstaller ¶
DownloadInstaller route
func (*Controller) ForgotPassword ¶
ForgotPassword route
func (*Controller) ForgotPasswordPost ¶
ForgotPasswordPost route
func (*Controller) PasswordReset ¶
PasswordReset is called after a user clicks the link from their password reset email It checks the token from the URL and if it's all legit, then it logs the user in and makes them reset their password
func (*Controller) RegisterPost ¶
RegisterPost registers new user or shows Register route with appropriate messages set in session
func (*Controller) SignInPost ¶
SignInPost is used to log the user in or set appropriate message in session if login was not succesful
func (*Controller) TermsAndConditions ¶
TermsAndConditions shows the terms and conditions page
Click to show internal directories.
Click to hide internal directories.