higress-group/higress

Implement the Golang version of the existing CPP Wasm plugin

Open

#589 opened on Oct 19, 2023

 (1 comment) (0 reactions) (0 assignees)Go (1,219 forks)github user discovery
area/plugingood first issuelevel/normalsig/wasm

Repository metrics

Stars
 (9,036 stars)
PR merge metrics
 (Avg merge 7d 9h) (18 merged PRs in 30d)

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 ~

7501702118364_ pic

Contributor guide