Documentation
¶
Index ¶
- func AuthMiddleware(jwtService service.JWT, userService service.User) gin.HandlerFunc
- type Handler
- func (h *Handler) CORSMiddleware() gin.HandlerFunc
- func (h *Handler) CheckWallet(c *gin.Context)
- func (h *Handler) ForgotPassword(c *gin.Context)
- func (h *Handler) GetBalance(c *gin.Context)
- func (h *Handler) GetTransactions(c *gin.Context)
- func (h *Handler) InitRoutes() *gin.Engine
- func (h *Handler) Login(c *gin.Context)
- func (h *Handler) Profile(c *gin.Context)
- func (h *Handler) Register(c *gin.Context)
- func (h *Handler) ResetPassword(c *gin.Context)
- func (h *Handler) SendToken(c *gin.Context)
- func (h *Handler) TopUp(c *gin.Context)
- func (h *Handler) Transfer(c *gin.Context)
- func (h *Handler) VerifyUser(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) CORSMiddleware ¶
func (h *Handler) CORSMiddleware() gin.HandlerFunc
func (*Handler) CheckWallet ¶
func (*Handler) ForgotPassword ¶
func (*Handler) GetBalance ¶
func (*Handler) GetTransactions ¶
func (*Handler) InitRoutes ¶
func (*Handler) ResetPassword ¶
func (*Handler) VerifyUser ¶
Click to show internal directories.
Click to hide internal directories.