routes

package
v0.0.0-...-4e22d16 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthorizationsRoute

func NewAuthorizationsRoute(router *gin.RouterGroup, db *gorm.DB, authMiddleware gin.HandlerFunc) *authorizationsRoutes

func NewProductsRoute

func NewProductsRoute(router *gin.RouterGroup, db *gorm.DB, authMiddleware gin.HandlerFunc) *productsRoutes

func NewRoleAuthorizationsRoute

func NewRoleAuthorizationsRoute(router *gin.RouterGroup, db *gorm.DB, authMiddleware gin.HandlerFunc) *roleAuthorizationsRoutes

func NewRolesRoute

func NewRolesRoute(router *gin.RouterGroup, db *gorm.DB, authMiddleware gin.HandlerFunc) *rolesRoutes

func NewUsersRoute

func NewUsersRoute(router *gin.RouterGroup, db *gorm.DB, jwtService jwt.JWTService, redisCache caches.RedisCache, ristrettoCache caches.RistrettoCache, authMiddleware gin.HandlerFunc, mailer mailer.OTPMailer) *usersRoutes

func RootHandler

func RootHandler(ctx *gin.Context)

PingExample godoc @Summary ping example @Schemes @Description do ping @Tags example @Accept json @Produce json @Success 200 {string} Helloworld @Router /example/helloworld [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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