draw-wip
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/labstack/echo/v4/middleware"
|
||||
"github.com/labstack/gommon/log"
|
||||
"knet.sk/src/draw"
|
||||
)
|
||||
|
||||
type Templates struct {
|
||||
@@ -54,6 +55,9 @@ func main() {
|
||||
|
||||
e.GET("/ws", initWs)
|
||||
|
||||
e.GET("/draw", draw.Page)
|
||||
e.GET("/draw/ws", draw.InitWs)
|
||||
|
||||
e.Logger.Fatal(e.Start(":54321"))
|
||||
|
||||
defer db.Close()
|
||||
|
||||
Reference in New Issue
Block a user