handler

package
v0.0.0-...-a64a35a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware(jwtService service.JWT, userService service.User) gin.HandlerFunc

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(service *service.Service) *Handler

func (*Handler) CORSMiddleware

func (h *Handler) CORSMiddleware() gin.HandlerFunc

func (*Handler) CheckWallet

func (h *Handler) CheckWallet(c *gin.Context)

func (*Handler) ForgotPassword

func (h *Handler) ForgotPassword(c *gin.Context)

func (*Handler) GetBalance

func (h *Handler) GetBalance(c *gin.Context)

func (*Handler) GetTransactions

func (h *Handler) GetTransactions(c *gin.Context)

func (*Handler) InitRoutes

func (h *Handler) InitRoutes() *gin.Engine

func (*Handler) Login

func (h *Handler) Login(c *gin.Context)

func (*Handler) Profile

func (h *Handler) Profile(c *gin.Context)

func (*Handler) Register

func (h *Handler) Register(c *gin.Context)

func (*Handler) ResetPassword

func (h *Handler) ResetPassword(c *gin.Context)

func (*Handler) SendToken

func (h *Handler) SendToken(c *gin.Context)

func (*Handler) TopUp

func (h *Handler) TopUp(c *gin.Context)

func (*Handler) Transfer

func (h *Handler) Transfer(c *gin.Context)

func (*Handler) VerifyUser

func (h *Handler) VerifyUser(c *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL