Versions in this module Expand all Collapse all v1 v1.0.2 Oct 19, 2018 Changes in this version + func EachFun(prefix, dpath string, c *DocumentController, book *models.BookResult, ...) + func RecursiveFun(parentId int, prefix, dpath string, c *DocumentController, ...) + type AccountController struct + func (c *AccountController) Captcha() + func (c *AccountController) FindPassword() + func (c *AccountController) LoggedIn(isPost bool) interface{} + func (c *AccountController) Login() + func (c *AccountController) Logout() + func (c *AccountController) Register() + func (c *AccountController) ValidEmail() + type BaseController struct + EnableAnonymous bool + EnableDocumentHistory bool + Member *models.Member + Option map[string]string + func (c *BaseController) BaseUrl() string + func (c *BaseController) ExecuteViewPathTemplate(tplName string, data interface{}) (string, error) + func (c *BaseController) JsonResult(errCode int, errMsg string, data ...interface{}) + func (c *BaseController) Prepare() + func (c *BaseController) SetMember(member models.Member) + func (c *BaseController) ShowErrorPage(errCode int, errMsg string) + type BlogController struct + func (c *BlogController) Download() + func (c *BlogController) Index() + func (c *BlogController) List() + func (c *BlogController) ManageDelete() + func (c *BlogController) ManageEdit() + func (c *BlogController) ManageList() + func (c *BlogController) ManageSetting() + func (c *BlogController) Prepare() + func (c *BlogController) RemoveAttachment() + func (c *BlogController) Upload() + type BookController struct + func (c *BookController) Copy() + func (c *BookController) Create() + func (c *BookController) CreateToken() + func (c *BookController) Dashboard() + func (c *BookController) Delete() + func (c *BookController) Import() + func (c *BookController) Index() + func (c *BookController) IsPermission() (*models.BookResult, error) + func (c *BookController) PrivatelyOwned() + func (c *BookController) Release() + func (c *BookController) SaveBook() + func (c *BookController) SaveSort() + func (c *BookController) Setting() + func (c *BookController) Transfer() + func (c *BookController) UploadCover() + func (c *BookController) Users() + type BookMemberController struct + func (c *BookMemberController) AddMember() + func (c *BookMemberController) ChangeRole() + func (c *BookMemberController) IsPermission() (*models.BookResult, error) + func (c *BookMemberController) RemoveMember() + type CommentController struct + func (c *CommentController) Create() + func (c *CommentController) Index() + func (c *CommentController) Lists() + type CookieRemember struct + Account string + MemberId int + Time time.Time + type DocumentController struct + func (c *DocumentController) Compare() + func (c *DocumentController) Content() + func (c *DocumentController) Create() + func (c *DocumentController) Delete() + func (c *DocumentController) DeleteHistory() + func (c *DocumentController) DownloadAttachment() + func (c *DocumentController) Edit() + func (c *DocumentController) Export() + func (c *DocumentController) History() + func (c *DocumentController) Index() + func (c *DocumentController) QrCode() + func (c *DocumentController) Read() + func (c *DocumentController) RemoveAttachment() + func (c *DocumentController) RestoreHistory() + func (c *DocumentController) Search() + func (c *DocumentController) Upload() + type ErrorController struct + func (c *ErrorController) Error403() + func (c *ErrorController) Error404() + func (c *ErrorController) Error500() + type HomeController struct + func (c *HomeController) Index() + func (c *HomeController) Prepare() + type LabelController struct + func (c *LabelController) Index() + func (c *LabelController) List() + func (c *LabelController) Prepare() + type ManagerController struct + func (c *ManagerController) AttachDelete() + func (c *ManagerController) AttachDetailed() + func (c *ManagerController) AttachList() + func (c *ManagerController) Books() + func (c *ManagerController) ChangeMemberRole() + func (c *ManagerController) Comments() + func (c *ManagerController) Config() + func (c *ManagerController) CreateMember() + func (c *ManagerController) CreateToken() + func (c *ManagerController) DeleteBook() + func (c *ManagerController) DeleteComment() + func (c *ManagerController) DeleteMember() + func (c *ManagerController) EditBook() + func (c *ManagerController) EditMember() + func (c *ManagerController) Index() + func (c *ManagerController) LabelDelete() + func (c *ManagerController) LabelList() + func (c *ManagerController) Prepare() + func (c *ManagerController) PrivatelyOwned() + func (c *ManagerController) Setting() + func (c *ManagerController) Transfer() + func (c *ManagerController) UpdateMemberStatus() + func (c *ManagerController) Users() + type SearchController struct + func (c *SearchController) Index() + func (c *SearchController) User() + type SettingController struct + func (c *SettingController) Index() + func (c *SettingController) Password() + func (c *SettingController) Upload() + type TemplateController struct + BookId int + func (c *TemplateController) Add() + func (c *TemplateController) Delete() + func (c *TemplateController) Get() + func (c *TemplateController) List()