admin

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Art

type Art struct {
	Base
}

*

  • 文章 *
  • @create 2022-6-19
  • @author deatil

func (*Art) Add

func (this *Art) Add(ctx *fiber.Ctx) error

添加

func (*Art) AddSave

func (this *Art) AddSave(ctx *fiber.Ctx) error

添加保存

func (*Art) Delete

func (this *Art) Delete(ctx *fiber.Ctx) error

删除

func (*Art) Edit

func (this *Art) Edit(ctx *fiber.Ctx) error

编辑

func (*Art) EditSave

func (this *Art) EditSave(ctx *fiber.Ctx) error

编辑保存

func (*Art) Index

func (this *Art) Index(ctx *fiber.Ctx) error

列表

type Attach

type Attach struct {
	Base
}

*

  • 附件 *
  • @create 2022-6-19
  • @author deatil

func (*Attach) Delete

func (this *Attach) Delete(ctx *fiber.Ctx) error

删除

func (*Attach) Download

func (this *Attach) Download(ctx *fiber.Ctx) error

下载

func (*Attach) Index

func (this *Attach) Index(ctx *fiber.Ctx) error

页面

type Auth

type Auth struct {
	Base
}

*

  • 账号 *
  • @create 2022-6-19
  • @author deatil

func (*Auth) Captcha

func (this *Auth) Captcha(ctx *fiber.Ctx) error

验证码

func (*Auth) Login

func (this *Auth) Login(ctx *fiber.Ctx) error

登录

func (*Auth) LoginCheck

func (this *Auth) LoginCheck(ctx *fiber.Ctx) error

验证登录

func (*Auth) Logout

func (this *Auth) Logout(ctx *fiber.Ctx) error

退出

type Base

type Base struct{}

*

  • 基类 *
  • @create 2022-6-19
  • @author deatil

func (*Base) ListDirTplFiles

func (this *Base) ListDirTplFiles(prefix string) []string

模板列表

func (*Base) ListEmbedTplFiles

func (this *Base) ListEmbedTplFiles(prefix string) []string

embed 模板列表

func (*Base) ListTplFiles

func (this *Base) ListTplFiles(prefix string) []string

模板列表

func (*Base) Theme

func (this *Base) Theme(tpl string) string

主题

func (*Base) View

func (this *Base) View(ctx *fiber.Ctx, tpl string, data fiber.Map) error

视图

type Cate

type Cate struct {
	Base
}

*

  • 分类 *
  • @create 2022-6-19
  • @author deatil

func (*Cate) Add

func (this *Cate) Add(ctx *fiber.Ctx) error

添加

func (*Cate) AddSave

func (this *Cate) AddSave(ctx *fiber.Ctx) error

添加保存

func (*Cate) Delete

func (this *Cate) Delete(ctx *fiber.Ctx) error

删除

func (*Cate) Edit

func (this *Cate) Edit(ctx *fiber.Ctx) error

编辑

func (*Cate) EditSave

func (this *Cate) EditSave(ctx *fiber.Ctx) error

编辑保存

func (*Cate) Index

func (this *Cate) Index(ctx *fiber.Ctx) error

列表

type Index

type Index struct {
	Base
}

*

  • 首页 *
  • @create 2022-6-19
  • @author deatil

func (*Index) Index

func (this *Index) Index(ctx *fiber.Ctx) error

type Page

type Page struct {
	Base
}

*

  • 单页 *
  • @create 2022-6-19
  • @author deatil

func (*Page) Add

func (this *Page) Add(ctx *fiber.Ctx) error

添加

func (*Page) AddSave

func (this *Page) AddSave(ctx *fiber.Ctx) error

添加保存

func (*Page) Delete

func (this *Page) Delete(ctx *fiber.Ctx) error

删除

func (*Page) Edit

func (this *Page) Edit(ctx *fiber.Ctx) error

编辑

func (*Page) EditSave

func (this *Page) EditSave(ctx *fiber.Ctx) error

编辑保存

func (*Page) Index

func (this *Page) Index(ctx *fiber.Ctx) error

列表

type Profile

type Profile struct {
	Base
}

*

  • 我的信息 *
  • @create 2022-6-19
  • @author deatil

func (*Profile) Index

func (this *Profile) Index(ctx *fiber.Ctx) error

页面

func (*Profile) Password

func (this *Profile) Password(ctx *fiber.Ctx) error

密码

func (*Profile) PasswordSave

func (this *Profile) PasswordSave(ctx *fiber.Ctx) error

保存密码

func (*Profile) Save

func (this *Profile) Save(ctx *fiber.Ctx) error

保存

type Setting

type Setting struct {
	Base
}

*

  • 网站设置 *
  • @create 2022-6-19
  • @author deatil

func (*Setting) Index

func (this *Setting) Index(ctx *fiber.Ctx) error

页面

func (*Setting) Save

func (this *Setting) Save(ctx *fiber.Ctx) error

保存

type Tag

type Tag struct {
	Base
}

*

  • 标签 *
  • @create 2022-6-19
  • @author deatil

func (*Tag) Add

func (this *Tag) Add(ctx *fiber.Ctx) error

添加

func (*Tag) AddSave

func (this *Tag) AddSave(ctx *fiber.Ctx) error

添加保存

func (*Tag) Delete

func (this *Tag) Delete(ctx *fiber.Ctx) error

删除

func (*Tag) Edit

func (this *Tag) Edit(ctx *fiber.Ctx) error

编辑

func (*Tag) EditSave

func (this *Tag) EditSave(ctx *fiber.Ctx) error

编辑保存

func (*Tag) Index

func (this *Tag) Index(ctx *fiber.Ctx) error

页面

type Upload

type Upload struct{}

*

  • 上传 *
  • @create 2022-6-19
  • @author deatil

func (*Upload) File

func (this *Upload) File(ctx *fiber.Ctx) error

文件

func (*Upload) Image

func (this *Upload) Image(ctx *fiber.Ctx) error

图片

type User

type User struct {
	Base
}

*

  • 账号 *
  • @create 2022-6-19
  • @author deatil

func (*User) Add

func (this *User) Add(ctx *fiber.Ctx) error

添加

func (*User) AddSave

func (this *User) AddSave(ctx *fiber.Ctx) error

添加保存

func (*User) Delete

func (this *User) Delete(ctx *fiber.Ctx) error

删除

func (*User) Edit

func (this *User) Edit(ctx *fiber.Ctx) error

编辑

func (*User) EditSave

func (this *User) EditSave(ctx *fiber.Ctx) error

编辑保存

func (*User) Index

func (this *User) Index(ctx *fiber.Ctx) error

登录

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL