debug

package
v0.0.0-...-7428172 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL