Documentation
¶
Index ¶
- func CreateUser(c *gin.Context)
- func Data(c *gin.Context)
- func DataByKey(c *gin.Context)
- func DeleteData(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func GetUser(c *gin.Context)
- func Health(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func SetData(c *gin.Context)
- func SetupRoutes() *gin.Engine
- func UpdateAccount(c *gin.Context)
- func UpdateUser(c *gin.Context)
- type AuthorizedBodyConfig
- type AuthorizedConfig
- type UnauthorizedBodyConfig
- type UnauthorizedConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func DeleteData ¶
func DeleteUser ¶
func SetupRoutes ¶
func UpdateAccount ¶
func UpdateUser ¶
Types ¶
type AuthorizedBodyConfig ¶
type AuthorizedBodyConfig struct {
Body string
Token string
Handler func(*httptest.ResponseRecorder)
}
type AuthorizedConfig ¶
type AuthorizedConfig struct {
Token string
Handler func(*httptest.ResponseRecorder)
}
type UnauthorizedBodyConfig ¶
type UnauthorizedBodyConfig struct {
}
type UnauthorizedConfig ¶ added in v1.4.0
type UnauthorizedConfig struct {
}
Click to show internal directories.
Click to hide internal directories.