user

package
v0.0.0-...-832b07f Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserController

type UserController struct {
	// contains filtered or unexported fields
}

func New

func New(ds store.IStore) *UserController

func (*UserController) ChangePassword

func (ctrl *UserController) ChangePassword(c *gin.Context)

ChangePassword 用来修改指定用户的密码.

func (*UserController) Create

func (ctrl *UserController) Create(c *gin.Context)

func (*UserController) Get

func (ctrl *UserController) Get(c *gin.Context)

Get 获取一个用户的详细信息.

func (*UserController) Login

func (ctrl *UserController) Login(c *gin.Context)

Jump to

Keyboard shortcuts

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