Documentation ¶
Index ¶
- func NewUserGrpcHandler(userUsecase userUsecase.UserUsecaseService) *userGrpcHandler
- func PaymentHandler(amount int, orderId, razorPayKey, razorPaySecret string) (string, error)
- func RazorPaymentVerification(sign, orderId, paymentId, secret string) error
- type UserHttpHandlerService
- type UserQueueHandlerService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserGrpcHandler ¶
func NewUserGrpcHandler(userUsecase userUsecase.UserUsecaseService) *userGrpcHandler
func PaymentHandler ¶
Types ¶
type UserHttpHandlerService ¶
type UserHttpHandlerService interface { InsertUser(c echo.Context) error FindOneUserProfile(c echo.Context) error ResetPassword(c echo.Context) error // --- Wallet --- AddToWallet(c echo.Context) error GetUserWalletAccount(c echo.Context) error // --- Payment --- RazorPayLoad(c echo.Context) error RazorPaymentConfirm(c echo.Context) error // --- Reports --- UserPaymentReport(c echo.Context) error SingleOrderPaymentReport(c echo.Context) error // --- Wish List --- AddToWishList(c echo.Context) error GetWishList(c echo.Context) error RemoveFromWishList(c echo.Context) error // --- Address --- AddAddress(c echo.Context) error GetAddress(c echo.Context) error UpdateAddress(c echo.Context) error DeleteAddress(c echo.Context) error // --- Admin --- BlockOrUnblockUser(c echo.Context) error SalesReport(c echo.Context) error }
func NewUserHttpHandler ¶
func NewUserHttpHandler(cfg *config.Config, userUsecase userUsecase.UserUsecaseService) UserHttpHandlerService
type UserQueueHandlerService ¶
type UserQueueHandlerService interface{}
func NewUserQueueHandler ¶
func NewUserQueueHandler(cfg *config.Config, userUsecase userUsecase.UserUsecaseService) UserQueueHandlerService
Click to show internal directories.
Click to hide internal directories.