Documentation
¶
Index ¶
- Variables
- type DemoControllerType
- type FileControllerType
- type UserControllerType
- func (th *UserControllerType) Add(c *gin.Context)
- func (th *UserControllerType) Delete(c *gin.Context)
- func (th *UserControllerType) List(c *gin.Context)
- func (th *UserControllerType) Login(c *gin.Context)
- func (th *UserControllerType) Logout(c *gin.Context)
- func (th *UserControllerType) Update(c *gin.Context)
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 ¶
func (*DemoControllerType) Add ¶
func (th *DemoControllerType) Add(c *gin.Context)
func (*DemoControllerType) Conf ¶
func (th *DemoControllerType) Conf(c *gin.Context)
type FileControllerType ¶
func (*FileControllerType) UploadLocal ¶
func (th *FileControllerType) UploadLocal(c *gin.Context)
UploadLocal 文件上传到本地
func (*FileControllerType) UploadQiniu ¶
func (th *FileControllerType) UploadQiniu(c *gin.Context)
UploadQiniu 文件上传到七牛云
type UserControllerType ¶
func (*UserControllerType) Delete ¶
func (th *UserControllerType) Delete(c *gin.Context)
Delete 删除用户
func (*UserControllerType) Logout ¶
func (th *UserControllerType) Logout(c *gin.Context)
Logout 用户登出
func (*UserControllerType) Update ¶
func (th *UserControllerType) Update(c *gin.Context)
Update 修改用户
Click to show internal directories.
Click to hide internal directories.