Feng Lee 10 anni fa
parent
commit
584e6a4d10

+ 0 - 1
plugins/emqttd_plugin_demo/etc/plugin.config

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

+ 0 - 12
plugins/emqttd_plugin_demo/src/emqttd_plugin_demo.app.src

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

+ 0 - 16
plugins/emqttd_plugin_demo/src/emqttd_plugin_demo_app.erl

@@ -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.

+ 0 - 27
plugins/emqttd_plugin_demo/src/emqttd_plugin_demo_sup.erl

@@ -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}, []} }.
-