friend db

This commit is contained in:
wangchuxiao
2023-03-17 11:26:34 +08:00
parent 22fa9dc0ba
commit 67e1faefd8
3 changed files with 8 additions and 7 deletions
+4 -1
View File
@@ -2,13 +2,15 @@ package config
import (
"fmt"
"github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry"
"io/ioutil"
"os"
"path/filepath"
"runtime"
"github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry"
_ "embed"
"gopkg.in/yaml.v3"
)
@@ -189,6 +191,7 @@ type config struct {
ElasticSearchAddr []string `yaml:"elasticSearchAddr"`
ElasticSearchUser string `yaml:"elasticSearchUser"`
ElasticSearchPassword string `yaml:"elasticSearchPassword"`
isJson bool `yaml:"isJson"`
}
ModuleName struct {
LongConnSvrName string `yaml:"longConnSvrName"`