Files
sonr/cmd/motr/main.go
T

20 lines
351 B
Go
Raw Normal View History

2024-09-18 02:22:17 -04:00
//go:build js && wasm
// +build js,wasm
package main
import (
"github.com/labstack/echo/v4"
"github.com/onsonr/sonr/cmd/motr/fetch"
"github.com/onsonr/sonr/internal/ctx"
"github.com/onsonr/sonr/workers/routes"
2024-09-18 02:22:17 -04:00
)
func main() {
e := echo.New()
e.Use(ctx.UseSession)
routes.RegisterClientViews(e)
routes.RegisterClientAPI(e)
fetch.Serve(e)
2024-09-18 02:22:17 -04:00
}