mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-09 03:25:59 +08:00
push
This commit is contained in:
+3
-1
@@ -20,7 +20,9 @@ func main() {
|
||||
log.NewPrivateLog(constant.LogFileName)
|
||||
fmt.Println("start push rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
|
||||
pusher := push.Push{}
|
||||
pusher.Init(*rpcPort)
|
||||
if err := pusher.Init(*rpcPort); err != nil {
|
||||
panic(err.Error())
|
||||
}
|
||||
pusher.Run(*prometheusPort)
|
||||
wg.Wait()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user