Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OTPGenHandler ¶
type OTPGenHandler struct {
// contains filtered or unexported fields
}
func NewOTPGenHandler ¶
func NewOTPGenHandler( ur *repositories.UserRepository, otp *services.NotificationService, ) *OTPGenHandler
func (*OTPGenHandler) Handle ¶
func (h *OTPGenHandler) Handle(ctx fiber.Ctx) error
Generate OTP code godoc
@Param body body dtos.OTPGenerateRequestDto true "Body" @Tags OTP Controller @Accept json @Produce json
@Success 200 {object} dtos.OTPGenerateResponseDto @Router /api/v1/auth/otp/gen [post]
Click to show internal directories.
Click to hide internal directories.