Packages
ejabberd
19.9.1
26.4.0
26.3.0
26.2.0
26.1.0
25.10.0
25.8.0
25.7.0
25.4.0
25.3.0
24.12.0
24.10.0
24.7.0
24.6.0
24.2.6
23.10.0
23.4.0
23.1.0
22.10.0
22.5.0
21.12.0
21.7.0
21.4.0
21.1.0
20.12.0
20.7.0
20.4.0
20.3.0
20.2.0
20.1.0
19.9.1
19.9.0
19.8.0
19.5.0
19.2.0
18.12.1
18.12.0
18.6.0
18.4.0
18.3.0
18.1.0
17.11.0
17.9.0
17.6.0
17.3.0
17.1.0
16.12.0-beta1
16.9.0
16.8.0
16.6.2
16.6.1
16.6.0
16.4.1
16.4.0
16.3.0
16.2.0
16.1.0-beta1
Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
Current section
Files
Jump to
Current section
Files
src/mod_proxy65_opt.erl
%% Generated automatically
%% DO NOT EDIT: run `make options` instead
-module(mod_proxy65_opt).
-export([access/1]).
-export([auth_type/1]).
-export([host/1]).
-export([hostname/1]).
-export([hosts/1]).
-export([ip/1]).
-export([max_connections/1]).
-export([name/1]).
-export([port/1]).
-export([ram_db_type/1]).
-export([recbuf/1]).
-export([server_host/1]).
-export([shaper/1]).
-export([sndbuf/1]).
-export([vcard/1]).
-spec access(gen_mod:opts() | global | binary()) -> 'all' | acl:acl().
access(Opts) when is_map(Opts) ->
gen_mod:get_opt(access, Opts);
access(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, access).
-spec auth_type(gen_mod:opts() | global | binary()) -> 'anonymous' | 'plain'.
auth_type(Opts) when is_map(Opts) ->
gen_mod:get_opt(auth_type, Opts);
auth_type(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, auth_type).
-spec host(gen_mod:opts() | global | binary()) -> binary().
host(Opts) when is_map(Opts) ->
gen_mod:get_opt(host, Opts);
host(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, host).
-spec hostname(gen_mod:opts() | global | binary()) -> 'undefined' | binary().
hostname(Opts) when is_map(Opts) ->
gen_mod:get_opt(hostname, Opts);
hostname(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, hostname).
-spec hosts(gen_mod:opts() | global | binary()) -> [binary()].
hosts(Opts) when is_map(Opts) ->
gen_mod:get_opt(hosts, Opts);
hosts(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, hosts).
-spec ip(gen_mod:opts() | global | binary()) -> 'undefined' | inet:ip_address().
ip(Opts) when is_map(Opts) ->
gen_mod:get_opt(ip, Opts);
ip(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, ip).
-spec max_connections(gen_mod:opts() | global | binary()) -> 'infinity' | pos_integer().
max_connections(Opts) when is_map(Opts) ->
gen_mod:get_opt(max_connections, Opts);
max_connections(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, max_connections).
-spec name(gen_mod:opts() | global | binary()) -> binary().
name(Opts) when is_map(Opts) ->
gen_mod:get_opt(name, Opts);
name(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, name).
-spec port(gen_mod:opts() | global | binary()) -> 1..1114111.
port(Opts) when is_map(Opts) ->
gen_mod:get_opt(port, Opts);
port(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, port).
-spec ram_db_type(gen_mod:opts() | global | binary()) -> atom().
ram_db_type(Opts) when is_map(Opts) ->
gen_mod:get_opt(ram_db_type, Opts);
ram_db_type(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, ram_db_type).
-spec recbuf(gen_mod:opts() | global | binary()) -> pos_integer().
recbuf(Opts) when is_map(Opts) ->
gen_mod:get_opt(recbuf, Opts);
recbuf(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, recbuf).
-spec server_host(gen_mod:opts() | global | binary()) -> binary().
server_host(Opts) when is_map(Opts) ->
gen_mod:get_opt(server_host, Opts);
server_host(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, server_host).
-spec shaper(gen_mod:opts() | global | binary()) -> atom() | [ejabberd_shaper:shaper_rule()].
shaper(Opts) when is_map(Opts) ->
gen_mod:get_opt(shaper, Opts);
shaper(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, shaper).
-spec sndbuf(gen_mod:opts() | global | binary()) -> pos_integer().
sndbuf(Opts) when is_map(Opts) ->
gen_mod:get_opt(sndbuf, Opts);
sndbuf(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, sndbuf).
-spec vcard(gen_mod:opts() | global | binary()) -> 'undefined' | tuple().
vcard(Opts) when is_map(Opts) ->
gen_mod:get_opt(vcard, Opts);
vcard(Host) ->
gen_mod:get_module_opt(Host, mod_proxy65, vcard).