Versions in this module Expand all Collapse all v0 v0.0.2 Oct 16, 2018 v0.0.1 Sep 4, 2018 Changes in this version + const PATH_FILE + const PATH_IMAGE + const PATH_VIDEO + const SESSION_USER_KEY + type BaseController struct + Dao *models.DB + IsLogin bool + User models.User + func (c *BaseController) GetMustString(key string, msg string) string + func (ctx *BaseController) Abort500(err error) + func (ctx *BaseController) JSONOk(msg string, actions ...string) + func (ctx *BaseController) JSONOkData(count int, data interface{}) + func (ctx *BaseController) JSONOkH(msg string, maps H) + func (ctx *BaseController) MustLogin() + func (ctx *BaseController) Prepare() + func (this *BaseController) UUID() string + type ErrorController struct + func (c *ErrorController) Error404() + func (c *ErrorController) Error500() + type H map[string]interface + type IndexController struct + func (c *IndexController) Get() + func (c *IndexController) GetAbout() + func (c *IndexController) GetComment() + func (c *IndexController) GetDetail() + func (c *IndexController) GetMessage() + func (c *IndexController) GetReg() + func (c *IndexController) GetUser() + type MessageController struct + func (ctx *MessageController) Count() + func (ctx *MessageController) NestPrepare() + func (ctx *MessageController) NewMessage() + func (ctx *MessageController) Query() + type NestPreparer interface + NestPrepare func() + type NoteController struct + func (ctx *NoteController) Del() + func (ctx *NoteController) EditPage() + func (ctx *NoteController) NestPrepare() + func (ctx *NoteController) NewPage() + func (ctx *NoteController) Save() + type PraiseController struct + func (ctx *PraiseController) NestPrepare() + func (ctx *PraiseController) Parse() + type ResultJsonValue struct + Action string + Code int + Count int + Data interface{} + Msg string + type UploadController struct + FilesFilePath string + ImagesFilePath string + VideosFilePath string + func (c *UploadController) UploadFile() + func (c *UploadController) UploadImg() + func (ctx *UploadController) NestPrepare() + type UploadimgFroala struct + type UserController struct + func (c *UserController) Login() + func (c *UserController) Logout() + func (c *UserController) Reg()