Versions in this module Expand all Collapse all v2 v2.9.3 Sep 18, 2024 Changes in this version + func AuthEmailLogin(app *core.App, router fiber.Router) + func AuthEmailRegister(app *core.App, router fiber.Router) + func AuthEmailSend(app *core.App, router fiber.Router) + func AuthMergeApply(app *core.App, router fiber.Router) + func AuthMergeCheck(app *core.App, router fiber.Router) + func AuthSocialLogin(app *core.App, router fiber.Router) + func CacheFlush(app *core.App, router fiber.Router) + func CacheWarmUp(app *core.App, router fiber.Router) + func Captcha(app *core.App, router fiber.Router) + func CaptchaGet(app *core.App, router fiber.Router) + func CaptchaStatus(app *core.App, router fiber.Router) + func CaptchaVerify(app *core.App, router fiber.Router) + func CheckEmailVerifyCode(app *core.App, c *fiber.Ctx, email string, code string) (ok bool, resp error) + func CommentCreate(app *core.App, router fiber.Router) + func CommentDelete(app *core.App, router fiber.Router) + func CommentGet(app *core.App, router fiber.Router) + func CommentList(app *core.App, router fiber.Router) + func CommentUpdate(app *core.App, router fiber.Router) + func Conf(app *core.App, router fiber.Router) + func ConfDomain(app *core.App, router fiber.Router) + func EmailSend(app *core.App, router fiber.Router) + func NotifyList(app *core.App, router fiber.Router) + func NotifyRead(app *core.App, router fiber.Router) + func NotifyReadAll(app *core.App, router fiber.Router) + func PageDelete(app *core.App, router fiber.Router) + func PageFetch(app *core.App, router fiber.Router) + func PageFetchAll(app *core.App, router fiber.Router) + func PageFetchStatus(app *core.App, router fiber.Router) + func PageList(app *core.App, router fiber.Router) + func PagePV(app *core.App, router fiber.Router) + func PageUpdate(app *core.App, router fiber.Router) + func Paginate(offset int, limit int) func(db *gorm.DB) *gorm.DB + func SettingApply(app *core.App, router fiber.Router) + func SettingGet(app *core.App, router fiber.Router) + func SettingTemplate(app *core.App, router fiber.Router) + func SiteCreate(app *core.App, router fiber.Router) + func SiteDelete(app *core.App, router fiber.Router) + func SiteList(app *core.App, router fiber.Router) + func SiteUpdate(app *core.App, router fiber.Router) + func SocialLoginGuard(app *core.App, handler fiber.Handler) fiber.Handler + func Stat(app *core.App, router fiber.Router) + func Transfer(app *core.App, router fiber.Router) + func TransferExport(app *core.App, router fiber.Router) + func TransferImport(app *core.App, router fiber.Router) + func TransferUpload(app *core.App, router fiber.Router) + func Upload(app *core.App, router fiber.Router) + func UserCreate(app *core.App, router fiber.Router) + func UserDelete(app *core.App, router fiber.Router) + func UserInfo(app *core.App, router fiber.Router) + func UserInfoUpdate(app *core.App, router fiber.Router) + func UserList(app *core.App, router fiber.Router) + func UserLogin(app *core.App, router fiber.Router) + func UserStatus(app *core.App, router fiber.Router) + func UserUpdate(app *core.App, router fiber.Router) + func Version(app *core.App, router fiber.Router) + func Vote(app *core.App, router fiber.Router) + func VoteSync(app *core.App, router fiber.Router) + type Map = map[string]interface + type ParamsCaptchaVerify struct + Value string + type ParamsCommentCreate struct + Content string + Email string + Link string + Name string + PageKey string + PageTitle string + Rid uint + SiteName string + UA string + type ParamsCommentList struct + Email string + FlatMode bool + Limit int + Name string + Offset int + PageKey string + Scope string + Search string + SiteName string + SortBy string + Type string + ViewOnlyAdmin bool + type ParamsCommentUpdate struct + Content string + Email string + IP string + IsCollapsed bool + IsPending bool + IsPinned bool + Link string + Nick string + PageKey string + Rid uint + SiteName string + UA string + type ParamsEmailSend struct + Body string + Subject string + ToAddr string + type ParamsNotifyList struct + Email string + Name string + type ParamsNotifyReadAll struct + Email string + Name string + type ParamsPageFetchAll struct + SiteName string + type ParamsPageList struct + Limit int + Offset int + Search string + SiteName string + type ParamsPagePV struct + PageKey string + PageTitle string + SiteName string + type ParamsPageUpdate struct + AdminOnly bool + Key string + SiteName string + Title string + type ParamsSettingApply struct + Yaml string + type ParamsSiteCreate struct + Name string + Urls []string + type ParamsSiteUpdate struct + Name string + Urls []string + type ParamsStat struct + Limit int + PageKeys string + SiteName string + type ParamsTransferImport struct + type ParamsUpload struct + type ParamsUserCreate struct + BadgeColor string + BadgeName string + Email string + IsAdmin bool + Link string + Name string + Password string + ReceiveEmail bool + type ParamsUserInfo struct + Email string + Name string + type ParamsUserList struct + Limit int + Offset int + Search string + type ParamsUserLogin struct + Email string + Name string + Password string + type ParamsUserStatus struct + Email string + Name string + type ParamsUserUpdate struct + BadgeColor string + BadgeName string + Email string + IsAdmin bool + Link string + Name string + Password string + ReceiveEmail bool + type ParamsVote struct + Email string + Name string + type RequestAuthDataMergeApply struct + UserName string + type RequestAuthEmailLogin struct + Code string + Email string + Password string + type RequestAuthEmailRegister struct + Code string + Email string + Link string + Name string + Password string + type RequestAuthEmailSend struct + Email string + type RequestUserInfoUpdate struct + Code string + Email string + Link string + Name string + type ResponseAdminUserList struct + Total int64 + Users []entity.CookedUserForAdmin + type ResponseAuthDataMergeApply struct + DeletedUser int64 + UpdatedComment int64 + UpdatedNotify int64 + UpdatedVote int64 + UserToken string + type ResponseAuthDataMergeCheck struct + NeedMerge bool + UserNames []string + type ResponseCaptchaGet struct + ImgData string + type ResponseCaptchaStatus struct + IsPass bool + type ResponseCommentCreate struct + type ResponseCommentGet struct + Comment entity.CookedComment + ReplyComment *entity.CookedComment + type ResponseCommentList struct + Comments []entity.CookedComment + Count int64 + Page *entity.CookedPage + RootsCount int64 + type ResponseCommentUpdate struct + type ResponseConfAuthProviders struct + Anonymous bool + Providers []auth.AuthProviderInfo + type ResponseConfDomain struct + IsTrusted bool + Origin string + type ResponseNotifyList struct + Count int + Notifies []entity.CookedNotify + type ResponsePageFetch struct + type ResponsePageFetchStatus struct + Done int + IsProgress bool + Msg string + Total int + type ResponsePageList struct + Pages []entity.CookedPage + Total int64 + type ResponsePagePV struct + PV int + type ResponsePageUpdate struct + type ResponseSettingGet struct + Envs []string + Yaml string + type ResponseSettingTemplate struct + Yaml string + type ResponseSiteCreate struct + type ResponseSiteList struct + Count int + Sites []entity.CookedSite + type ResponseSiteUpdate struct + type ResponseStat struct + Data interface{} + type ResponseTransferExport struct + Artrans string + type ResponseTransferUpload struct + Filename string + type ResponseUpload struct + FileName string + FileType string + PublicURL string + type ResponseUserCreate struct + type ResponseUserInfo struct + IsLogin bool + Notifies []entity.CookedNotify + NotifiesCount int + User *entity.CookedUser + type ResponseUserInfoUpdate struct + User entity.CookedUser + type ResponseUserLogin struct + Token string + User entity.CookedUser + type ResponseUserStatus struct + IsAdmin bool + IsLogin bool + type ResponseUserUpdate struct + type ResponseVote struct + Down int + Up int