package
0.0.0-20220124055538-dc02723248cb
Repository: https://github.com/gopherready/apibackend.git
Documentation: pkg.go.dev
# Functions
@Summary Add new user to the database @Description Add a new user @Tags user @Accept json @Produce json @Param user body user.CreateRequest true "Create a new user" @Success 200 {object} user.CreateResponse "{"code":0,"message":"OK","data":{"username":"kong"}}" @Router /v1/user/register [post] Create creates a new user account.
Delete delete an user by the user identifier.
Get gets an user by the user identifier.
No description provided by the author
List list the users in the database.
Login generates the authentication token if the password was matched with the specified account.
Update update a exist user account info.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author