Wasm Add Header is a Go WASM extension example that will add a specific header to the request and response.
Make sure you have TinyGo Installed in your env
To build the WASM extension and create a .wasm
executable, run:
make build
To clean build artifacts, run:
make clean
make test
make get
To build a Docker image from the project, run:
make docker-build
To tag the Docker image and push it to a Docker regitry, run:
Note: Before using the docker-push target, replace your-docker-repo with your actual Docker repository.
make docker-push