Documentation ¶
Index ¶
- func AuthInterceptor(c *revel.Controller) revel.Result
- func InitService()
- type Admin
- type AdminBaseController
- type AdminBlog
- type AdminData
- func (c AdminData) Backup() revel.Result
- func (c AdminData) Delete(createdTime string) revel.Result
- func (c AdminData) Download(createdTime string) revel.Result
- func (c AdminData) Index() revel.Result
- func (c AdminData) Restore(createdTime string) revel.Result
- func (c AdminData) UpdateRemark(createdTime, remark string) revel.Result
- type AdminEmail
- func (c AdminEmail) Blog() revel.Result
- func (c AdminEmail) DeleteEmails(ids string) revel.Result
- func (c AdminEmail) Demo() revel.Result
- func (c AdminEmail) DoBlogTag(recommendTags, newTags string) revel.Result
- func (c AdminEmail) DoDemo(demoUsername, demoPassword string) revel.Result
- func (c AdminEmail) DoToImage(toImageBinPath string) revel.Result
- func (c AdminEmail) Email() revel.Result
- func (c AdminEmail) List(sorter, keywords string) revel.Result
- func (c AdminEmail) SendEmailDialog(emails string) revel.Result
- func (c AdminEmail) SendEmailToEmails(sendEmails, latestEmailSubject, latestEmailBody string, ...) revel.Result
- func (c AdminEmail) SendToUsers(...) revel.Result
- func (c AdminEmail) SendToUsers2(emails, latestEmailSubject, latestEmailBody string, ...) revel.Result
- func (c AdminEmail) Set(emailHost, emailPort, emailUsername, emailPassword, emailSSL string) revel.Result
- func (c AdminEmail) Template() revel.Result
- func (c AdminEmail) ToImage() revel.Result
- type AdminSetting
- func (c AdminSetting) Blog() revel.Result
- func (c AdminSetting) Demo() revel.Result
- func (c AdminSetting) DoBlogTag(recommendTags, newTags string) revel.Result
- func (c AdminSetting) DoDemo(demoUsername, demoPassword string) revel.Result
- func (c AdminSetting) DoSiteUrl(siteUrl string) revel.Result
- func (c AdminSetting) DoSubDomain(...) revel.Result
- func (c AdminSetting) Email() revel.Result
- func (c AdminSetting) ExportPdf(path string) revel.Result
- func (c AdminSetting) HomePage(homePage string) revel.Result
- func (c AdminSetting) Mongodb(mongodumpPath, mongorestorePath string) revel.Result
- func (c AdminSetting) OpenRegister(openRegister string) revel.Result
- func (c AdminSetting) ShareNote(registerSharedUserId string, ...) revel.Result
- func (c AdminSetting) SubDomain() revel.Result
- func (c AdminSetting) UploadSize(...) revel.Result
- type AdminUpgrade
- type AdminUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthInterceptor ¶
func AuthInterceptor(c *revel.Controller) revel.Result
Types ¶
type Admin ¶
type Admin struct {
AdminBaseController
}
type AdminBaseController ¶
type AdminBaseController struct {
controllers.BaseController // 不能用*BaseController
}
公用Controller, 其它Controller继承它
type AdminBlog ¶
type AdminBlog struct {
AdminBaseController
}
type AdminData ¶
type AdminData struct {
AdminBaseController
}
type AdminEmail ¶
type AdminEmail struct {
AdminBaseController
}
func (AdminEmail) DoBlogTag ¶
func (c AdminEmail) DoBlogTag(recommendTags, newTags string) revel.Result
func (AdminEmail) DoDemo ¶
func (c AdminEmail) DoDemo(demoUsername, demoPassword string) revel.Result
func (AdminEmail) SendEmailDialog ¶
func (c AdminEmail) SendEmailDialog(emails string) revel.Result
send Email dialog
func (AdminEmail) SendEmailToEmails ¶
func (c AdminEmail) SendEmailToEmails(sendEmails, latestEmailSubject, latestEmailBody string, verified, saveAsOldEmail bool) revel.Result
发送Email
func (AdminEmail) SendToUsers ¶
func (c AdminEmail) SendToUsers(userFilterEmail, userFilterWhiteList, userFilterBlackList, latestEmailSubject, latestEmailBody string, verified, saveAsOldEmail bool) revel.Result
func (AdminEmail) SendToUsers2 ¶
func (c AdminEmail) SendToUsers2(emails, latestEmailSubject, latestEmailBody string, verified, saveAsOldEmail bool) revel.Result
发送Email
func (AdminEmail) Set ¶
func (c AdminEmail) Set(emailHost, emailPort, emailUsername, emailPassword, emailSSL string) revel.Result
func (AdminEmail) Template ¶
func (c AdminEmail) Template() revel.Result
type AdminSetting ¶
type AdminSetting struct {
AdminBaseController
}
func (AdminSetting) DoBlogTag ¶
func (c AdminSetting) DoBlogTag(recommendTags, newTags string) revel.Result
func (AdminSetting) DoDemo ¶
func (c AdminSetting) DoDemo(demoUsername, demoPassword string) revel.Result
func (AdminSetting) DoSubDomain ¶
func (c AdminSetting) DoSubDomain(noteSubDomain, blogSubDomain, leaSubDomain, blackSubDomains, allowCustomDomain, blackCustomDomains string) revel.Result
func (AdminSetting) Mongodb ¶
func (c AdminSetting) Mongodb(mongodumpPath, mongorestorePath string) revel.Result
func (AdminSetting) OpenRegister ¶
func (c AdminSetting) OpenRegister(openRegister string) revel.Result
func (AdminSetting) ShareNote ¶
func (c AdminSetting) ShareNote(registerSharedUserId string, registerSharedNotebookPerms, registerSharedNotePerms []int, registerSharedNotebookIds, registerSharedNoteIds, registerCopyNoteIds []string) revel.Result
共享设置
func (AdminSetting) UploadSize ¶
func (c AdminSetting) UploadSize(uploadImageSize, uploadAvatarSize, uploadBlogLogoSize, uploadAttachSize float64) revel.Result
type AdminUpgrade ¶
type AdminUpgrade struct {
AdminBaseController
}
Upgrade controller
func (AdminUpgrade) UpgradeBeta3ToBeta4 ¶
func (c AdminUpgrade) UpgradeBeta3ToBeta4() revel.Result
func (AdminUpgrade) UpgradeBetaToBeta2 ¶
func (c AdminUpgrade) UpgradeBetaToBeta2() revel.Result
func (AdminUpgrade) UpgradeBlog ¶
func (c AdminUpgrade) UpgradeBlog() revel.Result
Click to show internal directories.
Click to hide internal directories.