mirror of
https://github.com/wneessen/logranger.git
synced 2024-11-23 05:10:50 +01:00
Winni Neessen
670e5b1d30
Refactored the Action interface in the plugins package to separate the configuration step from the process method. The new Config method accepts a configuration map and returns an error. The modified server.go uses this Config method to apply configurations before calling Process. File action plugin specifically has been updated to support this new interface where configurations are now updated via Config method before invoking Process. |
||
---|---|---|
.. | ||
file.go |