how to use on echo web freamwork
ehsandavari opened this issue · 2 comments
ehsandavari commented
how to use on echo web freamwork
norazlan commented
Basically,
func main() {
sockserver := socket.NewServer(nil, nil)
e := echo.New()
.
.
.
.
e.Any("/socket.io/", echo.WrapHandler(sockserver.ServeHandler(nil)))
}
zishang520 commented
I think it should be similar to go-gin. You can refer to it below: #34 (comment)