plug_health v0.1.0 HealthCheckPlug View Source

Respond to ready and alive checks

Optons

path: the request path check_func: a function that accepts one argument: Plug.Conn respond_func: a function two arguments: the Plug.Conn and the result of the check function as arguments

Examples

plug HealthCheckPlug, path: "/alivez"
plug HealthCheckPlug, path: "/readyz"

Link to this section Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Link to this section Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.