auth MW refactor

This commit is contained in:
nquidox 2025-09-10 21:57:09 +03:00
parent a7530a6324
commit 0903bc55eb
7 changed files with 15 additions and 148 deletions

View file

@ -2,10 +2,9 @@ package interfaces
import (
"github.com/gin-gonic/gin"
"merch-parser-api/internal/shared"
)
type Router interface {
Set() *gin.Engine
ExcludeRoutes(routes []shared.ExcludeRoute)
AuthMW() gin.HandlerFunc
}