mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-08-05 12:56:48 +02:00

- Added dynamic capture plugin example - Added dynamic capture plugin doc - Removed ztnc from plugin example
452 B
452 B
Compile a Plugin
A plugin is basically a go program with a HTTP Server / Listener. The steps required to build a plugin is identical as building a ordinary go program.
# Assuming you are currently inside the root folder of your plugin
go mod tidy
go build
# Validate if the plugin is correctly build using -introspect flag
./{{your_plugin_name}} -introspect
# You should see your plugin information printed to STDOUT as JSON string