Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BalanceResponseData ¶
type TopupRequestData ¶
type TopupRequestData struct {
Amount uint32 `form:"amount" binding:"required"`
}
type TopupResponseData ¶
type TopupResponseData struct {
domain.Transaction
}
type TransferRequestData ¶
type WalletHandler ¶
type WalletHandler struct {
// contains filtered or unexported fields
}
func (*WalletHandler) BalanceGet ¶
func (h *WalletHandler) BalanceGet(c *gin.Context)
func (*WalletHandler) TopUpPost ¶
func (h *WalletHandler) TopUpPost(c *gin.Context)
func (*WalletHandler) TransferPost ¶
func (h *WalletHandler) TransferPost(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.