Monitors registered web-services.
supply url and interval given in seconds and you will recieve events informing about status.
def deps do
[
{:service_status, git: "[email protected]:drobban/service_status.git", ref: "9cb5b18b1c81a"}
]
end
iex> ServiceStatus.register("google", %ServiceStatus.Config{
iex> interval: 180,
iex> url: "https://google.com",
iex> client: self(),
iex> internal_id: 1
iex> })
:ok