emqx/apps/emqx_authz/src/emqx_authz_app.erl

21 lines
432 B
Erlang

%%%-------------------------------------------------------------------
%% @doc emqx_authz public API
%% @end
%%%-------------------------------------------------------------------
-module(emqx_authz_app).
-behaviour(application).
-export([start/2, stop/1]).
start(_StartType, _StartArgs) ->
{ok, Sup} = emqx_authz_sup:start_link(),
%ok = emqx_authz:init(),
{ok, Sup}.
stop(_State) ->
ok.
%% internal functions