Documentation
¶
Index ¶
- type AuthController
- func (authController *AuthController) LoginByUsernamePassword(ctx *gin.Context)
- func (authController *AuthController) ResendLoginOtpPhone(ctx *gin.Context)
- func (authController *AuthController) SendLoginOtpPhone(ctx *gin.Context)
- func (authController *AuthController) SignupByUsernamePassword(ctx *gin.Context)
- func (authController *AuthController) VerifyLoginOtpPhone(ctx *gin.Context)
- type ExampleController
- func (exampleController *ExampleController) CreateExample(ctx *gin.Context)
- func (exampleController *ExampleController) DeleteExample(ctx *gin.Context)
- func (exampleController *ExampleController) GetExample(ctx *gin.Context)
- func (exampleController *ExampleController) GetExampleLists(ctx *gin.Context)
- func (exampleController *ExampleController) UpdateExample(ctx *gin.Context)
- type JobQueueController
- type PublicController
- type UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct{}
func (*AuthController) LoginByUsernamePassword ¶
func (authController *AuthController) LoginByUsernamePassword(ctx *gin.Context)
func (*AuthController) ResendLoginOtpPhone ¶
func (authController *AuthController) ResendLoginOtpPhone(ctx *gin.Context)
func (*AuthController) SendLoginOtpPhone ¶
func (authController *AuthController) SendLoginOtpPhone(ctx *gin.Context)
func (*AuthController) SignupByUsernamePassword ¶
func (authController *AuthController) SignupByUsernamePassword(ctx *gin.Context)
func (*AuthController) VerifyLoginOtpPhone ¶
func (authController *AuthController) VerifyLoginOtpPhone(ctx *gin.Context)
type ExampleController ¶
type ExampleController struct{}
func (*ExampleController) CreateExample ¶
func (exampleController *ExampleController) CreateExample(ctx *gin.Context)
@Router /examples/createExample [post] @Description Create Example @Tags Example @Param data body string true "data" @Success 200 {object} object @Security BearerAuth
func (*ExampleController) DeleteExample ¶
func (exampleController *ExampleController) DeleteExample(ctx *gin.Context)
@Router /examples/deleteExample [post] @Description Delete Example @Tags Example @Param data body string true "data" @Success 200 {object} object @Security BearerAuth
func (*ExampleController) GetExample ¶
func (exampleController *ExampleController) GetExample(ctx *gin.Context)
@Router /examples/getExample [get] @Description Get Example @Tags Example @Param exampleId query int true "the example id" 22 @Success 200 {object} object @Security BearerAuth
func (*ExampleController) GetExampleLists ¶
func (exampleController *ExampleController) GetExampleLists(ctx *gin.Context)
func (*ExampleController) UpdateExample ¶
func (exampleController *ExampleController) UpdateExample(ctx *gin.Context)
@Router /examples/updateExample [post] @Description Update Example @Tags Example @Param data body string true "data" @Success 200 {object} object @Security BearerAuth
type JobQueueController ¶
type JobQueueController struct{}
func (*JobQueueController) PushJob ¶
func (JobQueueController *JobQueueController) PushJob(ctx *gin.Context)
func (*JobQueueController) PushJobDelay ¶
func (JobQueueController *JobQueueController) PushJobDelay(ctx *gin.Context)
WIP: Not Ready for Use
type PublicController ¶
type PublicController struct{}
func (*PublicController) Ping ¶
func (publicController *PublicController) Ping(ctx *gin.Context)
@Router /public/ping [get] @Description Ping @Tags Public @Success 200 {object} string
type UserController ¶
type UserController struct{}
func (*UserController) GetUserProfile ¶
func (userController *UserController) GetUserProfile(ctx *gin.Context)
func (*UserController) UpdateUser ¶
func (userController *UserController) UpdateUser(ctx *gin.Context)