ejabberd v17.01.0 Ejabberd.Config

Base module for configuration file.

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

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

Functions

get_ejabberd_opts()

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

init(file_path, force \\ false)

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

start_hooks()

Register the hooks defined inside the elixir config file.

Macros

hook(hook_name, opts, fun)
listen(module, list)
module(module, list)