1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-05 19:42:11 +02:00

Now modules themselves can have version annotations in 'note'

This was already supported in module options, toplevel options
and ejabberd_commands.
This commit is contained in:
Badlop 2024-03-28 00:13:28 +01:00
parent cd7eedf589
commit c98302b3c0

View file

@ -74,6 +74,7 @@
-callback mod_opt_type(atom()) -> econf:validator().
-callback mod_options(binary()) -> [{atom(), term()} | atom()].
-callback mod_doc() -> #{desc => binary() | [binary()],
note => string(),
opts => [opt_doc()],
example => [string()] | [{binary(), [string()]}]}.
-callback depends(binary(), opts()) -> [{module(), hard | soft}].