Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckHandler ¶
type CheckHandler struct { Build string Logger *zap.SugaredLogger DB *sqlx.DB }
func (CheckHandler) Liveness ¶
func (h CheckHandler) Liveness(w http.ResponseWriter, _ *http.Request)
Liveness is responsible for returning info about the running service.
func (CheckHandler) Readiness ¶
func (h CheckHandler) Readiness(w http.ResponseWriter, r *http.Request)
Readiness is responsible for checking all the dependencies we expect to be up and running during the runtime e.x database.
Click to show internal directories.
Click to hide internal directories.