controller

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Base
}

*

  • 登录 *
  • @create 2022-12-30
  • @author deatil

func (*Auth) Captcha

func (this *Auth) Captcha(ctx echo.Context) error

验证码

func (*Auth) Login

func (this *Auth) Login(ctx echo.Context) error

登录页面

func (*Auth) LoginCheck

func (this *Auth) LoginCheck(ctx echo.Context) error

检测登录

func (*Auth) Logout

func (this *Auth) Logout(ctx echo.Context) error

退出

type Base

type Base struct{}

*

  • 基础类 *
  • @create 2022-12-30
  • @author deatil

func (*Base) Error

func (this *Base) Error(ctx echo.Context, msg string) error

错误返回

type File

type File struct {
	Base
}

*

  • 文件管理 *
  • @create 2023-1-2
  • @author deatil

func (*File) Copy added in v1.0.3

func (this *File) Copy(ctx echo.Context) error

复制

func (*File) CopySave added in v1.0.3

func (this *File) CopySave(ctx echo.Context) error

复制保存

func (*File) CreateDir

func (this *File) CreateDir(ctx echo.Context) error

创建文件夹

func (*File) CreateFile

func (this *File) CreateFile(ctx echo.Context) error

创建文件

func (*File) Delete

func (this *File) Delete(ctx echo.Context) error

删除文件

func (*File) DownloadFile

func (this *File) DownloadFile(ctx echo.Context) error

下载文件

func (*File) Index

func (this *File) Index(ctx echo.Context) error

首页

func (*File) Info

func (this *File) Info(ctx echo.Context) error

详情

func (*File) Move

func (this *File) Move(ctx echo.Context) error

移动

func (*File) MoveSave

func (this *File) MoveSave(ctx echo.Context) error

移动保存

func (*File) PreviewFile added in v1.0.2

func (this *File) PreviewFile(ctx echo.Context) error

预览文件

func (*File) Rename

func (this *File) Rename(ctx echo.Context) error

重命名

func (*File) UpdateFile

func (this *File) UpdateFile(ctx echo.Context) error

更新文件

func (*File) UpdateFileSave

func (this *File) UpdateFileSave(ctx echo.Context) error

更新文件保存

func (*File) Upload

func (this *File) Upload(ctx echo.Context) error

上传文件

func (*File) UploadSave

func (this *File) UploadSave(ctx echo.Context) error

上传文件保存

type Index

type Index struct {
	Base
}

*

  • 首页 *
  • @create 2022-12-30
  • @author deatil

func (*Index) Index

func (this *Index) Index(ctx echo.Context) error

首页

type Profile added in v1.0.1

type Profile struct {
	Base
}

*

  • 我的信息 *
  • @create 2023-1-17
  • @author deatil

func (*Profile) Password added in v1.0.1

func (this *Profile) Password(ctx echo.Context) error

更改密码页面

func (*Profile) PasswordSave added in v1.0.1

func (this *Profile) PasswordSave(ctx echo.Context) error

更改密码保存

Jump to

Keyboard shortcuts

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