Packages

Inofficial Erlang/OTP client application for the official DeepL API Version 2

Current section

Files

Jump to
deeperl src deeperl_app.erl
Raw

src/deeperl_app.erl

%% @private
-module(deeperl_app).
-behaviour(application).
-export([
start/2,
stop/1
]).
start(_StartType, _StartArgs) ->
deeperl_sup:start_link(#{
auth_key => application:get_env(deeperl, auth_key, ""),
httpc_profile => application:get_env(deeperl, httpc_profile, default)
}).
stop(_State) ->
ok.