README ¶ health-check A small Go package for quickly adding a /health endpoint to RESTful APIs Dependencies Echo Installation go get github.com/jessemillar/health Usage import "github.com/jessemillar/health" func main() { port := ":8000" router := echo.New() router.Get("/health", health.Check) router.Run(fasthttp.New(port)) } Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Check(context echo.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Check ¶ func Check(context echo.Context) error Check returns a message indicating that the service is awake and listening Types ¶ This section is empty. Source Files ¶ View all Source files health.go Click to show internal directories. Click to hide internal directories.