View Source Envio.Backend behaviour (envio v1.0.0)

The behaviour to be implemented for all the backends.

Summary

Callbacks

The callback when the envio is received.

Callbacks

@callback on_envio(
  message :: %{atom: term()},
  meta :: %{atom: term()}
) :: {:ok, term()} | {:error, term()}

The callback when the envio is received.