handler

package
v0.0.0-...-35c4631 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MINIMUM_PASSWORD_LENGTH = 8
)

Variables

This section is empty.

Functions

func ChangePassword

func ChangePassword(ctx *gin.Context)

func CreateTodo

func CreateTodo(ctx *gin.Context)

func DeleteTodo

func DeleteTodo(ctx *gin.Context)

func EmailPasswordIsValid

func EmailPasswordIsValid(ctx *gin.Context, funcName string, body dto.AuthRequest) bool

func GetAllTodo

func GetAllTodo(ctx *gin.Context)

func Login

func Login(ctx *gin.Context)

func Logout

func Logout(ctx *gin.Context)

func Registration

func Registration(ctx *gin.Context)

func SetAccessToken

func SetAccessToken(ctx *gin.Context, uid string) string

func TodoIDValidation

func TodoIDValidation(ctx *gin.Context) *models.Todo

func UpdateTodo

func UpdateTodo(ctx *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