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> |
||
|---|---|---|
| .. | ||
| consul | ||
| dns | ||
| kubernetes | ||
| mdns | ||
| README.md | ||
| metadata.go | ||
| nameresolution.go | ||
| requests.go | ||
README.md
Name resolution
Name resolvers provide a common way to interact with different name resolvers, which are used to return the address or IP of other services your applications may connect to.
Implementing a new Name Resolver
A compliant name resolver needs to implement the Resolver inteface included in the nameresolution.go file.