docs:added readme and setup files

This commit is contained in:
Abhijeet Singh Rathor
2025-08-13 13:43:57 +05:30
parent 94a6fd83d4
commit 8dc4c93a14
5 changed files with 2387 additions and 0 deletions

32
build-plugins.sh Executable file
View File

@@ -0,0 +1,32 @@
#!/bin/bash
# Create plugins directory
mkdir -p plugins
# Build each plugin as a shared library
echo "Building plugins..."
plugins=(
"cache"
"decrypter"
"encrypter"
"keymanager"
"publisher"
"reqpreprocessor"
"router"
"schemavalidator"
"signer"
"signvalidator"
)
for plugin in "${plugins[@]}"; do
echo "Building $plugin plugin..."
go build -buildmode=plugin -o "plugins/${plugin}.so" "./pkg/plugin/implementation/${plugin}/cmd/plugin.go"
if [ $? -eq 0 ]; then
echo "✓ Successfully built $plugin plugin"
else
echo "✗ Failed to build $plugin plugin"
fi
done
echo "All plugins built in ./plugins directory"