watchdog v0.1.0 Watchdog.Pipeline

A pipeline of plugs, inspired by the Plug library.

The pipeline is used to provide a pluggable API that allows users to define their own actions that need to be executed when events occur.

Example

defmodule MyApp.WatchdogPipeline do
  use Watchdog.Pipeline

  plug Watchdog.Integrations.ExUnit,
    args: ~w(test --exclude not_implemented)
  plug MyApp.Watchdog.Gulp
end

Summary

Macros

A macro that stores a new plug. opts will be passed unchanged to the plug when it’s called

Macros

plug(plug, opts \\ [])

A macro that stores a new plug. opts will be passed unchanged to the plug when it’s called.

Examples

plug Watchdog.Integrations.ExUnit,
  args: ~w(test --exclude not_implemented)