handlers

package
v0.0.0-...-0090429 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRecoveryEmail

func AddRecoveryEmail(c *gin.Context)

func AdminViewUsers

func AdminViewUsers(c *gin.Context)

func AssignRole

func AssignRole(c *gin.Context)

func ChangePassword

func ChangePassword(c *gin.Context)

ChangePassword handles password change requests

func DeleteAccount

func DeleteAccount(c *gin.Context)

func ForgotPassword

func ForgotPassword(c *gin.Context)

ForgotPassword handles password reset requests

func Home

func Home(c *gin.Context)

func Login

func Login(c *gin.Context)

Login handles user login

func Register

func Register(c *gin.Context)

Register handles user registration

func RegisterUser

func RegisterUser(db *sql.DB, w http.ResponseWriter, r *http.Request)

func SocialLogin

func SocialLogin(c *gin.Context)

SocialLogin handles social media login

func UpdateNotificationPreferences

func UpdateNotificationPreferences(c *gin.Context)

func UpdateProfile

func UpdateProfile(c *gin.Context)

func UploadKYCDocument

func UploadKYCDocument(c *gin.Context)

func UploadProfilePicture

func UploadProfilePicture(c *gin.Context)

func VerifyOTP

func VerifyOTP(c *gin.Context)

VerifyOTP handles OTP verification

func ViewLoginHistory

func ViewLoginHistory(c *gin.Context)

func ViewProfile

func ViewProfile(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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