Proton v0.1.0 Proton.Source behaviour

Behaviour for calling applications to implement in order to use Proton.

Link to this section Summary

Link to this section Types

Link to this type path()
path() :: String.t()
Link to this type spec()
spec() :: map()

Link to this section Callbacks

Link to this callback checker(spec) (optional)
checker(spec()) ::
  {:ok, spec()}
  | {:error,
     %Proton.Errors.CheckFailed{
       __exception__: term(),
       errors: term(),
       message: term(),
       spec: term()
     }}
Link to this callback children() (optional)
children() :: [atom()]
Link to this callback filter(spec) (optional)
filter(spec()) :: spec()
Link to this callback resolve(path)
resolve(path()) :: spec()