mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-04 09:05:59 +08:00
solve error
This commit is contained in:
+16
-1
@@ -1 +1,16 @@
|
||||
package third
|
||||
package main
|
||||
|
||||
import (
|
||||
"OpenIM/internal/rpc/third"
|
||||
"OpenIM/internal/startrpc"
|
||||
"OpenIM/pkg/common/config"
|
||||
)
|
||||
|
||||
func main() {
|
||||
if err := config.InitConfig(); err != nil {
|
||||
panic(err.Error())
|
||||
}
|
||||
if err := startrpc.Start(config.Config.RpcPort.OpenImUserPort[0], config.Config.RpcRegisterName.OpenImUserName, config.Config.Prometheus.UserPrometheusPort[0], third.Start); err != nil {
|
||||
panic(err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user