aboutsummaryrefslogtreecommitdiff
path: root/src/mod_shared_roster_opt.erl
blob: d0d2aaac16659e085cf35206b92196d1f028a1bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
%% Generated automatically
%% DO NOT EDIT: run `make options` instead

-module(mod_shared_roster_opt).

-export([db_type/1]).

-spec db_type(gen_mod:opts() | global | binary()) -> atom().
db_type(Opts) when is_map(Opts) ->
    gen_mod:get_opt(db_type, Opts);
db_type(Host) ->
    gen_mod:get_module_opt(Host, mod_shared_roster, db_type).