usecase

package
v0.0.0-...-dcfd991 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckingAuthorization

func CheckingAuthorization(c echo.Context, cfg *configs.Config, cookieName string) (map[string]interface{}, error)

func CreateAPost

func CreateAPost(c echo.Context)

func GetAllPostsByUserID

func GetAllPostsByUserID(c echo.Context, cfg *configs.Config, userID uint) ([]models.Post, error)

func UserLoginWithEmail

func UserLoginWithEmail(c echo.Context, cfg *configs.Config, DB *gorm.DB, email string, password string) (models.User, error)

func UserSignUp

func UserSignUp(c echo.Context, cfg *configs.Config, userData models.User) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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