1 2 3 4 5 6 7 8 9 10 11 12 13 14
-module(mysqlerl_app). -author('bjc@kublai.com'). -behavior(application). %% Behavior callbacks. -export([start/2, stop/1]). start(normal, []) -> register(?MODULE, self()), mysqlerl_sup:start_link(). stop([]) -> ok.