Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RequestErrorHandler = func(c *gin.Context, err error) { writeResponse(c, http.StatusBadRequest, err.Error(), nil) } InternalErrorHandler = func(c *gin.Context) { writeResponse(c, http.StatusInternalServerError, "An Unexpected Error Occurred", nil) } SuccessHandler = func(c *gin.Context, data any) { writeResponse(c, http.StatusOK, "", data) } )
Functions ¶
This section is empty.
Types ¶
type RegisterReq ¶
type RegisterResp ¶
Click to show internal directories.
Click to hide internal directories.