Documentation ¶
Index ¶
- Variables
- func AuthRequired(c *gin.Context)
- func CORSMiddleware() gin.HandlerFunc
- func CreateUser(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func GetAllUsers(c *gin.Context)
- func GetUser(c *gin.Context)
- func Ping(c *gin.Context)
- func SetJsonLogger() gin.HandlerFunc
- func UpdateUser(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Db pg.Repository
)
Functions ¶
func AuthRequired ¶
func CORSMiddleware ¶
func CORSMiddleware() gin.HandlerFunc
func CreateUser ¶
func DeleteUser ¶
func GetAllUsers ¶
func SetJsonLogger ¶
func SetJsonLogger() gin.HandlerFunc
func UpdateUser ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.