chore(emqx_authz): fix `ipaddrs` type and style in etc/acl.conf
This commit is contained in:
parent
a757afcb7e
commit
639fe276e1
|
@ -1,15 +1,15 @@
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
%% -type(ipaddr() :: {ipaddr, string()}).
|
%% -type(ipaddr() :: {ipaddr, string()}).
|
||||||
%%
|
%%
|
||||||
%% -type(ipaddrs() :: {ipaddrs, string()}).
|
%% -type(ipaddrs() :: {ipaddrs, [string()]}).
|
||||||
%%
|
%%
|
||||||
%% -type(username() :: {user | username, string()} | {user | username, {re, regex()}}).
|
%% -type(username() :: {user | username, string()} | {user | username, {re, regex()}}).
|
||||||
%%
|
%%
|
||||||
%% -type(clientid() :: {client | clientid, string()} | {client | clientid, {re, regex()}}).
|
%% -type(clientid() :: {client | clientid, string()} | {client | clientid, {re, regex()}}).
|
||||||
%%
|
%%
|
||||||
%% -type(who() :: ipaddr() | ipaddrs() |username() | clientid() |
|
%% -type(who() :: ipaddr() | ipaddrs() | username() | clientid() |
|
||||||
%% {'and', [ipaddr() | ipaddrs()| username() | clientid()]} |
|
%% {'and', [ipaddr() | ipaddrs() | username() | clientid()]} |
|
||||||
%% {'or', [ipaddr() | ipaddrs()| username() | clientid()]} |
|
%% {'or', [ipaddr() | ipaddrs() | username() | clientid()]} |
|
||||||
%% all).
|
%% all).
|
||||||
%%
|
%%
|
||||||
%% -type(action() :: subscribe | publish | all).
|
%% -type(action() :: subscribe | publish | all).
|
||||||
|
|
Loading…
Reference in New Issue