add redis status check
This commit is contained in:
parent
f7f1535695
commit
89ce1f361c
2 changed files with 43 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ func (s *Server) createHandler() {
|
|||
ur := routers.NewUserRouter(s.taoLogger, userService)
|
||||
ur.Route(r)
|
||||
|
||||
fmt.Println("routers", r.Routes())
|
||||
// fmt.Println("routers", r.Routes())
|
||||
|
||||
})
|
||||
|
||||
|
|
@ -156,6 +156,9 @@ func (s *Server) createHandler() {
|
|||
})
|
||||
})
|
||||
|
||||
nscr := routers.NewServiceCheckRouter(s.cache_db)
|
||||
nscr.Route(r)
|
||||
|
||||
// routers.NewToppingRouter(s.data, s.taoLogger).Route(r)
|
||||
|
||||
r.NotFound(func(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue