apiRouter

package
v0.0.0-...-be50514 Latest Latest
Warning

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

Go to latest
Published: May 21, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expvar

func Expvar(c *gin.Context)

Types

type CloudConfig

type CloudConfig struct {
}

func NewCloudConfig

func NewCloudConfig() *CloudConfig

func (*CloudConfig) Delete

func (t *CloudConfig) Delete(c *gin.Context)

func (*CloudConfig) EnabledTypes

func (t *CloudConfig) EnabledTypes(c *gin.Context)

func (*CloudConfig) List

func (t *CloudConfig) List(c *gin.Context)

func (*CloudConfig) UpdateAndCreate

func (t *CloudConfig) UpdateAndCreate(c *gin.Context)

type Upload

type Upload struct{}

func NewUpload

func NewUpload() Upload

func (Upload) Upload

func (u Upload) Upload(c *gin.Context)

Upload 上传文件

func (Upload) UserUpload

func (u Upload) UserUpload(c *gin.Context)

Upload 上传文件

type User

type User struct {
}

func NewUser

func NewUser() *User

func (*User) Login

func (h *User) Login(c *gin.Context)

Login 用户登录

func (*User) Register

func (h *User) Register(c *gin.Context)

Register 用户注册

func (*User) UserChangePassword

func (h *User) UserChangePassword(c *gin.Context)

Jump to

Keyboard shortcuts

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