You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* load multiple types of plugins from one module
so github.com/aryszka/configfilter could be converted to a plugin
* add example multiplugin code
* update
* config files / multitype plugins / plugin tests
* when loading a .so file, it is checked if there is also a .conf file
with the same base, e.g. for `./plugins/noop.so` a config of
`./plugins/noop.conf` is attempted to open. If it exists, each line
in this file is passed as argument to the plugin loader function
(leading and trailing spaces stripped, lines beginning with a `#`
after space stripping are ignored).
* add support for multitype plugins (this time with complete auto
detection and `.conf` file support)
* add some noop plugins in _test_plugins and add a make target to build
and try loading as test
* run check-plugins target on each travis run
* drop unused stuff
* unify
* switch InitPlugin signature
InitPlugin is now
```
InitPlugin(opts []string) ([]filters.Spec, []routing.Predicate, []routing.DataClient, error)
```
also:
* any plugin which implements multiple Init* causes an error
* use logrus
* update .gitignore
* ignore _test_plugins_fail
* update docs
* check-plugins also in shortcheck
0 commit comments