grpc server added
This commit is contained in:
parent
5e1017df69
commit
6867d2d74e
9 changed files with 294 additions and 28 deletions
|
|
@ -7,17 +7,15 @@ import (
|
|||
swaggerFiles "github.com/swaggo/files"
|
||||
ginSwagger "github.com/swaggo/gin-swagger"
|
||||
"merch-parser-api/internal/interfaces"
|
||||
"merch-parser-api/internal/shared"
|
||||
"net/http"
|
||||
"time"
|
||||
)
|
||||
|
||||
type router struct {
|
||||
apiPrefix string
|
||||
engine *gin.Engine
|
||||
ginMode string
|
||||
excludeRoutes map[string]shared.ExcludeRoute
|
||||
tokenProv interfaces.JWTProvider
|
||||
apiPrefix string
|
||||
engine *gin.Engine
|
||||
ginMode string
|
||||
tokenProv interfaces.JWTProvider
|
||||
}
|
||||
|
||||
type Deps struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue