higress-group/higress

Implement the Golang version of the existing CPP Wasm plugin

Aperta

#589 aperta il 19 ott 2023

 (1 commento) (0 reazioni) (0 assegnatari)Go (1219 fork)github user discovery
area/plugingood first issuelevel/normalsig/wasm

Metriche repository

Star
 (9036 stelle)
Metriche merge PR
 (Merge medio 7g 9h) (18 PR mergiate in 30 g)

Descrizione

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 ~

7501702118364_ pic

Guida contributor