Current section

Files

Jump to
pagantis_elixir_tools lib health_checks health_check.ex
Raw

lib/health_checks/health_check.ex

defmodule ElixirTools.HealthChecks.HealthCheck do
@moduledoc """
The `HealthCheck` module specifies a behaviour for dealing with health checks.
"""
@doc """
Gets the status of a health check.
"""
@callback status(map) :: :ok | {:error, term}
end