user

package
v0.0.0-...-a562f3a Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller is a user controller

func NewController

func NewController(userService *user.Service) *Controller

NewController create a new user controller

func (*Controller) CreateUser

func (x *Controller) CreateUser(c *gin.Context)

CreateUser create a new user

func (*Controller) DeleteUser

func (x *Controller) DeleteUser(c *gin.Context)

DeleteUser delete a user

func (*Controller) GetUser

func (x *Controller) GetUser(c *gin.Context)

GetUser get a user

func (*Controller) UpdateUser

func (x *Controller) UpdateUser(c *gin.Context)

UpdateUser update a user

Jump to

Keyboard shortcuts

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