add cmd/open_im_push

This commit is contained in:
xmcy0011
2021-10-11 21:43:36 +08:00
parent b4195bd81c
commit 1a12eb9703
15 changed files with 8 additions and 8 deletions
+17
View File
@@ -0,0 +1,17 @@
package main
import (
"Open_IM/internal/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()
}