Files
zoraxy/example/plugins/dynamic-capture-example/mod/zoraxy_plugin
Anthony Rubick 73e4994ddc feat(eventpayload): add GetEventSource() to EventPayload interface
this design (as opposed to adding a Source field to the Event struct)
requires fewer changes to existing APIs while still supporting the two
primary cases for event sources:
1. an event that always has the same source can just return a hard-coded
string
2. an event that can come from multiple components (or from plugins) can
have a source field that gets returned by this function
2025-09-07 17:03:30 -05:00
..
2025-05-30 21:21:08 +08:00
2025-08-17 10:34:10 +08:00
2025-05-30 21:21:08 +08:00
2025-05-30 21:21:08 +08:00

# Zoraxy Plugin

## Overview
This module serves as a template for building your own plugins for the Zoraxy Reverse Proxy. By copying this module to your plugin mod folder, you can create a new plugin with the necessary structure and components.

## Instructions

1. **Copy the Module:**
    - Copy the entire `zoraxy_plugin` module to your plugin mod folder.

2. **Include the Structure:**
    - Ensure that you maintain the directory structure and file organization as provided in this module.

3. **Modify as Needed:**
    - Customize the copied module to implement the desired functionality for your plugin.

## Directory Structure
 zoraxy_plugin: Handle -introspect and -configuration process required for plugin loading and startup
 embed_webserver: Handle embeded web server routing and injecting csrf token to your plugin served UI pages