Implement the Golang version of the existing CPP Wasm plugin
#589 创建于 2023年10月19日
仓库指标
- 星标
- (9,036 个星标)
- PR 合并指标
- (平均合并 7天 9小时) (30 天内合并 18 个 PR)
描述
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 ~