push server

This commit is contained in:
hailong
2021-05-26 19:22:11 +08:00
parent dbf2e56f37
commit a7bedf1f79
13 changed files with 1201 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package main
import (
"Open_IM/src/push/logic"
"flag"
"sync"
)
func main() {
rpcPort := flag.Int("port", -1, "rpc listening port")
flag.Parse()
var wg sync.WaitGroup
wg.Add(1)
logic.Init(*rpcPort)
logic.Run()
wg.Wait()
}