cookie MW added

This commit is contained in:
nquidox 2025-09-14 19:33:09 +03:00
parent 4cf112ad5e
commit 476e5edf38
4 changed files with 17 additions and 2 deletions

View file

@ -8,5 +8,5 @@ type Module interface {
}
type ModuleRoutes interface {
RegisterRoutes(r *gin.RouterGroup, authMW gin.HandlerFunc)
RegisterRoutes(r *gin.RouterGroup, authMW gin.HandlerFunc, refreshMW gin.HandlerFunc)
}

View file

@ -7,4 +7,5 @@ import (
type Router interface {
Set() *gin.Engine
AuthMW() gin.HandlerFunc
RefreshMW() gin.HandlerFunc
}