status

package
v0.0.0-...-ac624b7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlePing

func HandlePing(c echo.Context) error

HandlePing responds with a simple 200 as a fast check the server is listening

func HandleStatus

func HandleStatus(s *server.Server) echo.HandlerFunc

HandleStatus should check all required services are up and running. This is the health check that load balancers should be hitting. If a required connection is unhealthy, we should be removed from the pool

func Install

func Install(s *server.Server)

Install binds routes to handlers for status

Types

This section is empty.

Jump to

Keyboard shortcuts

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