View Source conf_backend behaviour (conf v0.2.6)

Link to this section Summary

Link to this section Callbacks

-callback decode(iodata()) -> {ok, decoded()} | {error, error_reason()}.
-callback format_error(error_reason()) -> unicode:chardata().
-callback mime_types() -> [binary(), ...].
-callback validate(decoded()) -> {ok, conf:apps_config()} | {error, error_reason()}.