Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 538 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 538 Bytes

ServiceStatus

Monitors registered web-services.

supply url and interval given in seconds and you will recieve events informing about status.

Installation

def deps do
  [
    {:service_status, git: "[email protected]:drobban/service_status.git", ref: "9cb5b18b1c81a"}
  ]
end

Example

      iex> ServiceStatus.register("google", %ServiceStatus.Config{
      iex> interval: 180,
      iex> url: "https://google.com",
      iex> client: self(),
      iex> internal_id: 1
      iex> })      
      :ok