Files
sonr/cmd/hway/main.go
T

19 lines
321 B
Go
Raw Normal View History

//go:build js && wasm
package main
import (
"github.com/labstack/echo/v4"
"github.com/onsonr/sonr/internal/ctx"
"github.com/onsonr/sonr/workers/routes"
"github.com/syumai/workers"
)
func main() {
s := echo.New()
s.Use(ctx.UseSession)
routes.RegisterProxyViews(s)
routes.RegisterProxyAPI(s)
workers.Serve(s)
}