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:
parent
b46ed7044a
commit
d54f211514
|
@ -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]).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user