MW placeholder
This commit is contained in:
parent
82ea13a104
commit
0f6fd00604
2 changed files with 12 additions and 0 deletions
|
|
@ -50,6 +50,8 @@ func NewRouter(deps Deps) *Router {
|
|||
|
||||
engine.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))
|
||||
|
||||
engine.Use(authMW())
|
||||
|
||||
return &Router{
|
||||
srv: &http.Server{
|
||||
Addr: net.JoinHostPort(deps.Host, deps.Port),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue