Documentation ¶
Index ¶
- func GenerateJWT(userID uint) (string, error)
- func GenerateVerificationCode(length int) string
- func HealthCheck(app *fiber.App)
- func SendErrorResponse(c *fiber.Ctx, status int, message string) error
- func SendResponse(c *fiber.Ctx, status int, message string, data interface{}) error
- func SendVerificationSMS(phoneNumber, token string) error
- func ValidatePhoneNumber(phone string) bool
- type Claims
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJWT ¶
func HealthCheck ¶
func HealthCheck(app *fiber.App)
func SendErrorResponse ¶
func SendResponse ¶
func SendVerificationSMS ¶
func ValidatePhoneNumber ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.