virto-network / valor

Create HTTP APIs with a plugin system that runs in the server and the browser.
GNU General Public License v3.0
9 stars 8 forks source link

[native] pre-load plugins from config #6

Closed olanod closed 3 years ago

olanod commented 3 years ago

The server should accept reading a configuration file that lists the plugins that should be pre-loaded at start up.

olanod commented 3 years ago

Thinking of adding a command like flag that reads config from a JSON file like valor -c config.json. Plugin config can look something like...

{
    "plugins": [
        {"name": "foo", "type": "native"}
    ]
}