update wasm go sdk to tinygo 0.28.1 (#462)

This commit is contained in:
rinfx
2023-08-07 13:35:45 +08:00
committed by GitHub
parent 9b88c6bb40
commit d307d0e755
15 changed files with 50 additions and 265 deletions

View File

@@ -22,8 +22,14 @@ import (
"github.com/tidwall/gjson"
"github.com/alibaba/higress/plugins/wasm-go/pkg/matcher"
_ "github.com/wasilibs/nottinygc"
)
//export sched_yield
func sched_yield() int32 {
return 0
}
type HttpContext interface {
Scheme() string
Host() string