Sanito.PluginBehaviour behaviour (sanito v0.2.0)
Define the features that should be implemented to have a custom plugin
Summary
Callbacks
It will receive all the options sent to Sanito.Plug
Callbacks
Link to this callback
check(t, opts)
@callback check(Plug.Conn.t(), opts :: list()) :: {:ok, context :: String.t()} | {:error, reason :: String.t()}
It will receive all the options sent to Sanito.Plug