Skip to content

Latest commit

 

History

History

wasm-add-header

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Wasm Add Header

Wasm Add Header is a Go WASM extension example that will add a specific header to the request and response.

Pre-requisite

Make sure you have TinyGo Installed in your env

Build WASM Extension

To build the WASM extension and create a .wasm executable, run:

make build

Clean Build Artifacts

To clean build artifacts, run:

make clean

Run Tests

make test

Install Dependencies

make get

Build Docker Image

To build a Docker image from the project, run:

make docker-build

Push Docker Image

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