First step

This commit is contained in:
dadav
2019-11-03 17:08:45 +01:00
parent 3e1f3d5eec
commit 0aaeeb8011
2 changed files with 52 additions and 110 deletions

View File

@ -15,6 +15,11 @@ class Example(plugins.Plugin):
def __init__(self):
logging.debug("example plugin created")
# called when http://<host>:<port>/plugins/<plugin>/ is called
# must return a response
def on_webhook(self, path, args, req_method):
pass
# called when the plugin is loaded
def on_loaded(self):
logging.warning("WARNING: this plugin should be disabled! options = " % self.options)