handlers

package
v0.0.0-...-1f8323c Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

func AddUser(c *fiber.Ctx)

func GetUser

func GetUser(c *fiber.Ctx)

func GetUsers

func GetUsers(c *fiber.Ctx)

func RemoveUser

func RemoveUser(c *fiber.Ctx)

func SendOtp

func SendOtp(c *fiber.Ctx)

func UpdateUser

func UpdateUser(c *fiber.Ctx)

func VerifyOtp

func VerifyOtp(c *fiber.Ctx)

Types

type Response

type Response struct {
	Status  string `json:"status"`
	Message string `json:"message"`
	Data    string `json:"data"`
}

type SendOtpRequest

type SendOtpRequest struct {
	PhoneNumber string `json:"phone"`
}

type VerifyOtpRequest

type VerifyOtpRequest struct {
	PhoneNumber string `json:"phone"`
	Code        string `json:"code"`
}

Jump to

Keyboard shortcuts

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