Documentation ¶
Index ¶
- type Base
- func (Base *Base) AjaxError(message string, code uint16)
- func (Base *Base) AjaxSuccess(message string, data interface{})
- func (Base *Base) Back()
- func (Base *Base) ErrorHandler(err error)
- func (Base *Base) Finish()
- func (Base *Base) FlashError(message string)
- func (Base *Base) FlashSuccess(message string)
- func (Base *Base) Prepare()
- func (Base *Base) RedirectTo(url string)
- func (Base *Base) ValidatorAuto(frontendData interface{})
- type DashboardController
- type IndexController
- type MemberController
- func (this *MemberController) Answers()
- func (this *MemberController) ChangeAvatar()
- func (this *MemberController) ChangeAvatarHandler()
- func (this *MemberController) ChangePassword()
- func (this *MemberController) ChangePasswordHandler()
- func (this *MemberController) Index()
- func (this *MemberController) Logout()
- func (this *MemberController) Profile()
- func (this *MemberController) Questions()
- func (this *MemberController) SaveProfileHandler()
- func (this *MemberController) SendActiveMail()
- func (this *MemberController) SendActiveMailHandler()
- type QuestionController
- type UploadController
- type UserController
- func (this *UserController) ActiveHandler()
- func (this *UserController) FindPassword()
- func (this *UserController) FindPasswordHandler()
- func (this *UserController) Login()
- func (this *UserController) LoginHandler()
- func (this *UserController) PasswordReset()
- func (this *UserController) PasswordResetHandler()
- func (this *UserController) Register()
- func (this *UserController) RegisterHandler()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type DashboardController ¶
type DashboardController struct {
Base
}
func (*DashboardController) MemberAnswers ¶
func (this *DashboardController) MemberAnswers()
@router /user/:user_id/answers [get]
func (*DashboardController) MemberQuestions ¶
func (this *DashboardController) MemberQuestions()
@router /user/:user_id [get]
type IndexController ¶
type IndexController struct {
Base
}
func (*IndexController) CaptchaShow ¶
func (this *IndexController) CaptchaShow()
@router /captcha [get]
type MemberController ¶
type MemberController struct {
Base
}
func (*MemberController) Answers ¶
func (this *MemberController) Answers()
@router /member/answers [get]
func (*MemberController) ChangeAvatar ¶
func (this *MemberController) ChangeAvatar()
@router /member/avatar [get]
func (*MemberController) ChangeAvatarHandler ¶
func (this *MemberController) ChangeAvatarHandler()
@router /member/avatar [post]
func (*MemberController) ChangePassword ¶
func (this *MemberController) ChangePassword()
@router /member/password [get]
func (*MemberController) ChangePasswordHandler ¶
func (this *MemberController) ChangePasswordHandler()
@router /member/password [post]
func (*MemberController) Logout ¶
func (this *MemberController) Logout()
@router /member/logout [get]
func (*MemberController) Profile ¶
func (this *MemberController) Profile()
@router /member/profile [get]
func (*MemberController) Questions ¶
func (this *MemberController) Questions()
@router /member/questions [get]
func (*MemberController) SaveProfileHandler ¶
func (this *MemberController) SaveProfileHandler()
@router /member/profile [post]
func (*MemberController) SendActiveMail ¶
func (this *MemberController) SendActiveMail()
@router /member/active/mail/send [get]
func (*MemberController) SendActiveMailHandler ¶
func (this *MemberController) SendActiveMailHandler()
@router /member/active/mail/send [post]
type QuestionController ¶
type QuestionController struct {
Base
}
func (*QuestionController) AnswerHandler ¶
func (this *QuestionController) AnswerHandler()
@router /member/questions/:id [post]
func (*QuestionController) Create ¶
func (this *QuestionController) Create()
@router /member/questions/create [get]
func (*QuestionController) Edit ¶
func (this *QuestionController) Edit()
@router /member/questions/:question_id/edit [get]
func (*QuestionController) Show ¶
func (this *QuestionController) Show()
@router /questions/:id [get]
func (*QuestionController) Store ¶
func (this *QuestionController) Store()
@router /member/questions/create [post]
func (*QuestionController) Update ¶
func (this *QuestionController) Update()
@router /member/questions/:question_id/edit [post]
type UploadController ¶
type UploadController struct {
Base
}
func (*UploadController) Image ¶
func (this *UploadController) Image()
@router /member/upload/image [post]
func (*UploadController) Prepare ¶
func (this *UploadController) Prepare()
type UserController ¶
type UserController struct {
Base
}
func (*UserController) ActiveHandler ¶
func (this *UserController) ActiveHandler()
@router /user/active [get]
func (*UserController) FindPassword ¶
func (this *UserController) FindPassword()
@router /password/find [get]
func (*UserController) FindPasswordHandler ¶
func (this *UserController) FindPasswordHandler()
@router /password/find [post]
func (*UserController) LoginHandler ¶
func (this *UserController) LoginHandler()
@router /login [post]
func (*UserController) PasswordReset ¶
func (this *UserController) PasswordReset()
@router /password/reset [get]
func (*UserController) PasswordResetHandler ¶
func (this *UserController) PasswordResetHandler()
@router /password/reset [post]
func (*UserController) RegisterHandler ¶
func (this *UserController) RegisterHandler()
@router /register [post]