This commit is contained in:
Feng Lee 2015-08-14 15:48:43 +08:00
commit ef3009ec0e
6 changed files with 4 additions and 57 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "plugins/emqttd_dashboard"]
path = plugins/emqttd_dashboard
url = https://github.com/emqtt/emqttd_dashboard.git
[submodule "plugins/emqttd_plugin_template"]
path = plugins/emqttd_plugin_template
url = https://github.com/emqtt/emqttd_plugin_template.git

@ -1 +1 @@
Subproject commit fc49f53dfc3f02a09353e816f32980b113c42003
Subproject commit ca3182f5ddf9b2776f826471b8ccc698218697f8

View File

@ -1 +0,0 @@
[].

View File

@ -1,12 +0,0 @@
{application, emqttd_plugin_demo,
[
{description, ""},
{vsn, "1"},
{registered, []},
{applications, [
kernel,
stdlib
]},
{mod, { emqttd_plugin_demo_app, []}},
{env, []}
]}.

View File

@ -1,16 +0,0 @@
-module(emqttd_plugin_demo_app).
-behaviour(application).
%% Application callbacks
-export([start/2, stop/1]).
%% ===================================================================
%% Application callbacks
%% ===================================================================
start(_StartType, _StartArgs) ->
emqttd_plugin_demo_sup:start_link().
stop(_State) ->
ok.

View File

@ -1,27 +0,0 @@
-module(emqttd_plugin_demo_sup).
-behaviour(supervisor).
%% API
-export([start_link/0]).
%% Supervisor callbacks
-export([init/1]).
%% Helper macro for declaring children of supervisor
-define(CHILD(I, Type), {I, {I, start_link, []}, permanent, 5000, Type, [I]}).
%% ===================================================================
%% API functions
%% ===================================================================
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
%% ===================================================================
%% Supervisor callbacks
%% ===================================================================
init([]) ->
{ok, { {one_for_one, 5, 10}, []} }.