Skip to content

Commit

Permalink
Update custom.md
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlanni authored Nov 7, 2024
1 parent 095161e commit a33b381
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/content/docs/latest/zh-cn/plugins/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ description: 自定义插件配置参考
tinygo build -o main.wasm -scheduler=none -target=wasi -gc=custom -tags='custommalloc nottinygc_finalizer' ./main.go
```

详细的编译说明,包括要使用更复杂的 Header 状态管理机制,请参考[ Go 开发插件的最佳实践](https://higress.io/docs/latest/user/wasm-go/#3-%E7%BC%96%E8%AF%91%E7%94%9F%E6%88%90-wasm-%E6%96%87%E4%BB%B6)

### step2. 构建并推送插件的 docker 镜像

使用这份简单的 Dockerfile
Expand Down

0 comments on commit a33b381

Please sign in to comment.