From 45487523af2d8feb01ff622ddefad4ce154567c3 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Thu, 6 Aug 2015 00:01:00 +0800 Subject: [PATCH] Plugin Guide --- PLUGIN.md | 4 ++++ plugins/README | 4 ++++ rel/files/loaded_plugins | 1 - rel/files/plugins.config | 27 +-------------------------- 4 files changed, 9 insertions(+), 27 deletions(-) create mode 100644 PLUGIN.md create mode 100644 plugins/README delete mode 100644 rel/files/loaded_plugins diff --git a/PLUGIN.md b/PLUGIN.md new file mode 100644 index 000000000..7991de2cd --- /dev/null +++ b/PLUGIN.md @@ -0,0 +1,4 @@ + +Please see [Plugin Design](https://github.com/emqtt/emqttd/wiki/Plugin%20Design). + + diff --git a/plugins/README b/plugins/README new file mode 100644 index 000000000..7991de2cd --- /dev/null +++ b/plugins/README @@ -0,0 +1,4 @@ + +Please see [Plugin Design](https://github.com/emqtt/emqttd/wiki/Plugin%20Design). + + diff --git a/rel/files/loaded_plugins b/rel/files/loaded_plugins deleted file mode 100644 index bf38a149a..000000000 --- a/rel/files/loaded_plugins +++ /dev/null @@ -1 +0,0 @@ -[emqttd_dashboard]. diff --git a/rel/files/plugins.config b/rel/files/plugins.config index 0a5655c66..bf38a149a 100644 --- a/rel/files/plugins.config +++ b/rel/files/plugins.config @@ -1,26 +1 @@ -[ -% {emysql, [ -% {pool_size, 4}, -% {host, "localhost"}, -% {port, 3306}, -% {username, "root"}, -% {password, "public"}, -% {database, "mqtt"}, -% {encoding, utf8} -% ]}, -% {emqttd_auth_mysql, [ -% {user_table, mqtt_users}, -% {password_hash, plain}, -% {field_mapper, [ -% {username, username}, -% {password, password} -% ]} -% ]}, -% {emqttd_dashboard, [ -% {listener, -% {emqttd_dashboard, 18083, [ -% {acceptors, 4}, -% {max_clients, 512}]}} -% ]} -% -]. +[emqttd_dashboard].