Add websocket

This commit is contained in:
link
2022-02-18 19:06:03 +08:00
parent 6cba025679
commit c6928c333d
5 changed files with 101 additions and 3 deletions

View File

@@ -32,7 +32,9 @@ func init() {
//gredis.GetRedisConn(config.RedisInfo),
service.MyService = service.NewService(sqliteDB, loger2.NewOLoger())
service.Cache = cache.Init()
go service.SocketConnect()
route.InitFunction()
}
// @title casaOS API