emqx/apps/emqx_plugin_template
Zaiming Shi d60212787b chore(build): remove emqx from app's applications list 2020-12-12 23:02:26 +01:00
..
etc refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
src chore(build): remove emqx from app's applications list 2020-12-12 23:02:26 +01:00
test Fix testcases warns (#3906) 2020-12-11 18:54:48 +08:00
.gitignore refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
README.md refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
TODO refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
rebar.config refactor(proj): Add apps 2020-12-04 22:11:53 +01:00

README.md

emqx-plugin-template

This is a template plugin for the EMQ X broker. And you can see Plugin Development Guide to learning how to use it.

Plugin Config

Each plugin should have a 'etc/{plugin_name}.conf|config' file to store application config.

Authentication and ACL

emqx:hook('client.authenticate', fun ?MODULE:on_client_authenticate/3, [Env]).
emqx:hook('client.check_acl', fun ?MODULE:on_client_check_acl/5, [Env]).

Plugin and Hooks

Plugin Design

Hooks Design

License

Apache License Version 2.0

Author

EMQ X Team.