24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-14 22:00:16 +02:00

Add mod_opt_type/1 callback to gen_mod behaviour

This commit is contained in:
Holger Weiss 2016-05-01 22:09:40 +02:00
parent b46ed7044a
commit d54f211514

View File

@ -52,6 +52,7 @@
-callback start(binary(), opts()) -> any(). -callback start(binary(), opts()) -> any().
-callback stop(binary()) -> any(). -callback stop(binary()) -> any().
-callback mod_opt_type(atom()) -> fun((term()) -> term()) | [atom()].
-export_type([opts/0]). -export_type([opts/0]).
-export_type([db_type/0]). -export_type([db_type/0]).