ex_health v0.2.0 ExHealth.Plug View Source

A plug for integerating into a web application.

Examples:

In Phoenix router.ex:

scope "/" do
  forward("/_health", ExHealth.Plug)
end

Please ensure to use scope/2, otherwise the alias will not let you access the ExHealth namespace

For a more complete example, see the Example Phoenix App

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.