Knine v0.0.1 Knine.Watchdog behaviour

Watchdog is a behaviour to use different watchers in same workers

Summary

Functions

digger/2 Implementation for Watchdogs

Callbacks

A call to watcher to check healthyness of specific paeameter(s)

Types

bark_resp()
bark_resp ::
  :ok |
  {:ok, atom} |
  {:ok, atom, String.t} |
  {:error, atom} |
  {:error, atom, String.t}

Functions

__using__() (macro)

digger/2 Implementation for Watchdogs

digg(module, settings, timeout \\ 20000)
digg(atom, Tuple.t, Integer.t) :: :ok

Callbacks

bark(arg0)
bark(Tuple.t) :: bark_resp

A call to watcher to check healthyness of specific paeameter(s)