handler

package
v0.0.0-...-f1a5848 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthRoutes

func AuthRoutes(r *gin.Engine, ah AuthHandler) *gin.Engine

Types

type AuthHandler

type AuthHandler interface {
	Login(ctx *gin.Context)
	Register(ctx *gin.Context)
	Logout(ctx *gin.Context)
	Verify(ctx *gin.Context)
	VerifyEmail(ctx *gin.Context)
	ResendVerficationEmail(ctx *gin.Context)
	VerifyOTP(ctx *gin.Context)
	ResendVerificationOTP(ctx *gin.Context)
	ResetPassword(ctx *gin.Context)
	ChangePassword(ctx *gin.Context)
}

func New

func New(authService service.AuthService, logger zerolog.Logger) AuthHandler

Jump to

Keyboard shortcuts

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