user

package
v0.0.0-...-49bf833 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 13 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 {
	pb.UnimplementedDazBlogServer
	// contains filtered or unexported fields
}

func NewUserController

func NewUserController(ds store.IStore, a *auth.Authz) *UserController

func (*UserController) ChangePassword

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

func (*UserController) Create

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

Create a new user account.

func (*UserController) Delete

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

func (*UserController) Get

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

Get user's information

func (*UserController) List

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

List return users list, only root user can call this function

func (*UserController) ListUsers

ListUsers return users list for gRPC

func (*UserController) Login

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

func (*UserController) Update

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

Jump to

Keyboard shortcuts

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