Skip to content

Commit

Permalink
added healthz endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ps-spb committed Sep 4, 2024
1 parent 5c2de6c commit 506db94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions moroz/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ func AddHTTPRoutes(r *mux.Router, e Endpoints, logger log.Logger) {
func(w http.ResponseWriter, r *http.Request) {},
))

// add healthz
r.Methods("GET").Path("/healthz").Handler(http.HandlerFunc(
func(w http.ResponseWriter, r *http.Request) {},
))

}

// errBadRoute is used for mux errors
Expand Down

0 comments on commit 506db94

Please sign in to comment.