users

package
v0.0.0-...-687c1ae Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Destroy

func Destroy(c *gin.Context)

Destroy delete user

func Index

func Index(c *gin.Context)

Index list all users

func Update

func Update(c *gin.Context)

Update update user info

Types

type DestroyUserRequest

type DestroyUserRequest struct {
	// in:body
	Password string `json:"password"`
}

swagger:parameters DestroyUserRequest

type IndexUserResponse

type IndexUserResponse []models.User

swagger:response IndexUserResponse

Jump to

Keyboard shortcuts

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