LemonGateway. Health. Router
(lemon_gateway v0.1.0)
View Source
Plug router that serves the /healthz HTTP health-check endpoint.
Returns a JSON payload with HTTP 200 when healthy or 503 when unhealthy. All other routes return a 404 JSON error.
Summary
Functions
Callback implementation for Plug.call/2.
Callback implementation for Plug.init/1.