aboutsummaryrefslogtreecommitdiffstats
path: root/lib/src/mysqlerl_app.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/mysqlerl_app.erl')
-rw-r--r--lib/src/mysqlerl_app.erl14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/src/mysqlerl_app.erl b/lib/src/mysqlerl_app.erl
new file mode 100644
index 0000000..cdb8ade
--- /dev/null
+++ b/lib/src/mysqlerl_app.erl
@@ -0,0 +1,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.