app

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGinRoutes

func InitGinRoutes(svc ports.UserService, logger logger.LoggerType, conf config.Config)

func NewMiddleware added in v1.4.0

func NewMiddleware(svc ports.UserService, secretKey string) *middleware

Types

type GinHandler

type GinHandler interface {
	CreateUser(ctx *gin.Context)
	ReadUser(ctx *gin.Context)
	ReadUsers(ctx *gin.Context)
	UpdateUser(ctx *gin.Context)
	DeleteUser(ctx *gin.Context)
	Login(ctx *gin.Context)
	Logout(ctx *gin.Context)
}

func NewGinHandler

func NewGinHandler(svc ports.UserService, secretKey string) GinHandler

Jump to

Keyboard shortcuts

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