peluquero v0.5.0 Peluquero.Peluqueria

The supervisor process for the Peluquero.Actor and Peluquero.Rabbit pair.

Summary

Functions

Publishes a new message to publisher specified by name, queue and exchange

Adds a middleware to the middlewares list

Adds a handler to the handlers list

Functions

fqname(module \\ nil || __MODULE__, suffix)
fqname(Atom.t, String.t | Atom.t | List.t | nil) :: Atom.t
publish!(name \\ nil, payload)
publish!(name, queue, exchange, payload)

Publishes a new message to publisher specified by name, queue and exchange

scissors!(name \\ nil, fun)

Adds a middleware to the middlewares list

shear!(name \\ nil, payload)

Adds a handler to the handlers list

start_link(opts \\ [])