service

package
v0.0.0-...-44947e2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(c *gin.Context)

CreateUser : create a user

func DeleteUser

func DeleteUser(c *gin.Context)

DeleteUser : delete a user which find by ID

func GetUser

func GetUser(c *gin.Context)

GetUser : get a user which find by ID

func GetUsers

func GetUsers(c *gin.Context)

GetUsers : get all user

func OptionsUser

func OptionsUser(c *gin.Context)

OptionsUser : supporting options for CORS

func UpdateUser

func UpdateUser(c *gin.Context)

UpdateUser : edit a user which find by ID

Types

This section is empty.

Jump to

Keyboard shortcuts

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