Open mobintmu opened 3 years ago
i know that main target in this repository is making micro service and stand-alone chatroom but i think by remove part startHTTPServer(config, secure, address, port, path) in file https://github.com/ambelovsky/gosf/blob/master/main.go and add gosf.Startup(map[string]interface{}{"port": 1324}) to echo framework Perhaps it's work!
I want to using GOSF socket.io with echo framework. and i want to add GOSF to router of echo. but it has conflict in port
e := echo.New()
e.Any("/socket.io/", func(context echo.Context) error { gosf.Startup(map[string]interface{}{"port": 1324})
return nil })