Open
Description
Issue Description
Currently, echo depends on golang.org/x/net I believe for its HTTP2 stuffs (?). For tinygo compilations (such as for Cloudflare Workers using the package github.com/syumai/workers, it is currently failing with package net/http/httptrace is not in std
error.
Working code to debug
package main
import (
"net/http"
"github.com/labstack/echo/v4"
"github.com/syumai/workers"
)
func main() {
e := echo.New()
e.DisableHTTP2 = true
e.GET("/", func(c echo.Context) error {
return c.String(http.StatusOK, "Hello, World!")
})
workers.Serve(e.Server.Handler)
}
Version/commit
Any version of echo v4.
I really like echo, and I'd like to keep using it on my WASM projects. But this issue is blocking the usage right now. Any possibility of suggestion? Thanks.
Metadata
Assignees
Labels
No labels
Activity