ejabberd v17.01.0 Ejabberd.Config.OptsFormatter

Module for formatting options parsed into the format ejabberd uses.

Summary

Functions

Takes a keyword list with keys corresponding to the keys requested by the ejabberd config (ex: modules: mods) and formats them to be correctly evaluated by ejabberd

Functions

format_opts_for_ejabberd(opts)
format_opts_for_ejabberd([{atom, any}]) :: list

Takes a keyword list with keys corresponding to the keys requested by the ejabberd config (ex: modules: mods) and formats them to be correctly evaluated by ejabberd.

Look at how Config.get_ejabberd_opts/0 is constructed for more informations.