feat: port nginx :report subcommand to golang
The bash :report implementation for the nginx-vhosts plugin is replaced with a compiled golang binary that reuses the plugin's existing golang property getters, so every raw, global and computed key is unchanged while collection runs in parallel and json is marshalled directly. The global report keeps its existing behaviour of surfacing only the global keys.
This commit is contained in:
4
plugins/nginx-vhosts/.gitignore
vendored
4
plugins/nginx-vhosts/.gitignore
vendored
@@ -1,2 +1,6 @@
|
||||
/pagesize
|
||||
/nginx-property
|
||||
/report
|
||||
/report-subcommand
|
||||
/triggers
|
||||
/subcommands/report
|
||||
|
||||
Reference in New Issue
Block a user