Ejabberd.Config (ejabberd v21.4.0)

Base module for configuration file.

Imports macros for the config DSL and contains functions for working/starting the configuration parsed.

Link to this section Summary

Functions

Returns a list with all the opts, formatted for ejabberd.

Given the path of the config file, it evaluates it.

Register the hooks defined inside the elixir config file.

Link to this section Functions

Link to this function

get_ejabberd_opts()

Returns a list with all the opts, formatted for ejabberd.

Link to this macro

hook(hook_name, opts, fun)

(macro)
Link to this function

init(file_path, force \\ false)

Given the path of the config file, it evaluates it.

Link to this macro

listen(module, list)

(macro)
Link to this macro

module(module, list)

(macro)

Register the hooks defined inside the elixir config file.