Implement the Golang version of the existing CPP Wasm plugin
#589 ouverte le 19 oct. 2023
Métriques du dépôt
- Stars
- (9 036 étoiles)
- Métriques de merge PR
- (Merge moyen 7j 9h) (18 PRs mergées en 30 j)
Description
1. CPP vs. Golang
I think using Golang to implement a Wasm plugin is probably more developer friendly than using CPP.
However, there are currently some CPP Wasm plugins that still do not have a Golang version.
The comparison between the existing CPP and Golang version plugins is as follows:
| CPP | Golang | Task issue |
|---|---|---|
| basic_auth | done | |
| request_block | done | |
| jwt_auth | done | #591 |
| oauth | doing | #633 |
| bot_detect | done | #590 |
| custom_response | done | #592 |
| hmac_auth | doing | #593 |
| key_auth | done | #594 |
| key_rate_limit | doing | #596 |
| sni_misdirect | done | #595 |
You can develop a Wasm plugins using the Wasm Go SDK. Please refer to this document for details.
Thank you for claiming some of the above tasks! Please comment in the corresponding issue.
2. Related Information
Higress CPP Wasm Plugins: https://github.com/alibaba/higress/tree/main/plugins/wasm-cpp/extensions Higress Go Wasm Plugins: https://github.com/alibaba/higress/tree/main/plugins/wasm-go/extensions Higress Wasm Go SDK: https://github.com/alibaba/higress/tree/main/plugins/wasm-go Implement a WASM plugin with Golang: https://higress.io/zh-cn/docs/user/wasm-go/
3. WASM SIG
If you have any questions, please join the wasm sig for discussion ~