Deux v0.1.3 Deux View Source

Status monitor for external services

Link to this section Summary

Functions

It broadcast the event for a given report

Returns a given source

Returns and array of all sources

It subscribes to the PubSub reports channel

Link to this section Functions

Link to this function

broadcast_report(event, id)

View Source

It broadcast the event for a given report

Examples

ex> Deux.broadcast_report(:update_report, "12452465645352413")

Link to this function

find_or_add_source(source)

View Source

Returns a given source

Returns and array of all sources

It subscribes to the PubSub reports channel

Examples

iex> Deux.subscribe()