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 ~