components-contrib/middleware
Crypt Keeper b379f80b75
middleware: changes wasm basic to use waPC (#1833)
Updates wasm basic middleware and simplifies some code inside of it,
notably by using [waPC](https://github.com/wapc/wapc-go).

This changes the entrypoint function to be named "rewrite" and
uses a pool because known memory allocators are not goroutine
safe.

Signed-off-by: Adrian Cole <adrian@tetrate.io>

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-09-13 17:12:59 -07:00
..
http middleware: changes wasm basic to use waPC (#1833) 2022-09-13 17:12:59 -07:00
README.md middleware: changes wasm basic to use waPC (#1833) 2022-09-13 17:12:59 -07:00
metadata.go Define common metadata across components (#1994) 2022-08-25 10:10:53 -07:00
middleware.go update license to Apache v2.0 (#1406) 2022-01-04 19:53:31 -08:00

README.md

Middlewares

Middleware components provide a way to define middlewares that are executed in a pipeline and modify requests and responses.

Learn more about middlewares in Dapr

Implementing a new Middleware

A compliant middleware needs to implement the Middleware interface included in the middleware.go file.