Skip to content

Commit

Permalink
cmd: Add health handlers
Browse files Browse the repository at this point in the history
Signed-off-by: aeneasr <[email protected]>
  • Loading branch information
aeneasr committed Dec 13, 2018
1 parent 3dd5f7d commit bddb949
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/server/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,13 @@ func RunServe(
},
)


sh := storage.NewHandler(s, writer)
e := engine.NewEngine(compiler, writer)

router := httprouter.New()
ladon.NewEngine(s, sh, e, writer).Register(router)
healthx.NewHandler(writer, buildVersion, checks).SetRoutes(router)

n := negroni.New()
n.Use(negronilogrus.NewMiddlewareFromLogger(logger, "keto"))
Expand Down

0 comments on commit bddb949

Please sign in to comment.