controller

package
v0.0.0-...-e7c3345 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MulanPSL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DemoController = new(DemoControllerType)
View Source
var FileController = new(FileControllerType)
View Source
var UserController = new(UserControllerType)

Functions

This section is empty.

Types

type DemoControllerType

type DemoControllerType struct {
	ginl.Handler
}

func (*DemoControllerType) Add

func (th *DemoControllerType) Add(c *gin.Context)

func (*DemoControllerType) Conf

func (th *DemoControllerType) Conf(c *gin.Context)

type FileControllerType

type FileControllerType struct {
	ginl.Handler
}

func (*FileControllerType) UploadLocal

func (th *FileControllerType) UploadLocal(c *gin.Context)

UploadLocal 文件上传到本地

func (*FileControllerType) UploadQiniu

func (th *FileControllerType) UploadQiniu(c *gin.Context)

UploadQiniu 文件上传到七牛云

type UserControllerType

type UserControllerType struct {
	ginl.Handler
}

func (*UserControllerType) Add

func (th *UserControllerType) Add(c *gin.Context)

Add 添加用户

func (*UserControllerType) Delete

func (th *UserControllerType) Delete(c *gin.Context)

Delete 删除用户

func (*UserControllerType) List

func (th *UserControllerType) List(c *gin.Context)

List 用户列表

func (*UserControllerType) Login

func (th *UserControllerType) Login(c *gin.Context)

Login 用户登录

func (*UserControllerType) Logout

func (th *UserControllerType) Logout(c *gin.Context)

Logout 用户登出

func (*UserControllerType) Update

func (th *UserControllerType) Update(c *gin.Context)

Update 修改用户

Jump to

Keyboard shortcuts

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