plug_health v0.1.1 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

Link to this section Functions