handlers

package
v0.0.0-...-6e93265 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DB for database manipulation
	DB *gorm.DB
	// Cache for cache manipulation
	Cache *cache.CacheEngine
	// JWT used for jwt tokens creation and validation
	JWT *jwt.JWTUtil
)

Functions

func HomeShow

func HomeShow(c *gin.Context)

HomeShow to show home page

func InitiateHandlersDependencies

func InitiateHandlersDependencies()

InitiateHandlersDependencies to initiate the any dependency of the handlers

func UsersSignin

func UsersSignin(c *gin.Context)

func UsersSignout

func UsersSignout(c *gin.Context)

func UsersSignup

func UsersSignup(c *gin.Context)

UsersSignup to create new accounts

Types

This section is empty.

Jump to

Keyboard shortcuts

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