bumper/bumper/plugins.py
Brian Martin d1d2b228ee implement basic confserver plugins
- basic plugin system for confserver
  - allows adding api via plugins that can be saved in user data/plugins folder
  - relocated routes into internal plugins
 - add start_site to replace start_server
   - changed init code for starting confserver, this with the above fixes an issue of initializing the app twice
2020-01-04 20:35:08 -05:00

13 lines
210 B
Python

#!/usr/bin/env python3
import asyncio
from aiohttp import web
class ConfServerApp():
name = None
plugin_type = None
path_prefix = None
app = None
sub_api = None
routes = None