office tag async send

This commit is contained in:
wangchuxiao
2022-05-19 10:44:39 +08:00
parent 03c23f0fda
commit 23b03919e6
39 changed files with 320 additions and 28 deletions
+3 -1
View File
@@ -2,12 +2,14 @@ package main
import (
rpcCache "Open_IM/internal/rpc/cache"
"Open_IM/pkg/common/config"
"flag"
"fmt"
)
func main() {
rpcPort := flag.Int("port", 10600, "RpcToken default listen port 10800")
defaultPorts := config.Config.RpcPort.OpenImCachePort
rpcPort := flag.Int("port", defaultPorts[0], "RpcToken default listen port 10800")
flag.Parse()
fmt.Println("start auth rpc server, port: ", *rpcPort)
rpcServer := rpcCache.NewCacheServer(*rpcPort)