mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
load config
This commit is contained in:
parent
ff03e52c13
commit
3dec12ccae
@ -14,20 +14,6 @@
|
||||
|
||||
package cmd
|
||||
|
||||
const (
|
||||
RpcPushServer = "push"
|
||||
RpcAuthServer = "auth"
|
||||
RpcConversationServer = "conversation"
|
||||
RpcFriendServer = "friend"
|
||||
RpcGroupServer = "group"
|
||||
RpcMsgServer = "msg"
|
||||
RpcThirdServer = "third"
|
||||
RpcUserServer = "user"
|
||||
ApiServer = "api"
|
||||
CronTaskServer = "cronTask"
|
||||
MsgGatewayServer = "msgGateway"
|
||||
MsgTransferServer = "msgTransfer"
|
||||
)
|
||||
const (
|
||||
FileName = "config.yaml"
|
||||
NotificationFileName = "notification.yaml"
|
||||
@ -54,27 +40,27 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
notificationEnvPrefix = "openim-notification"
|
||||
shareEnvPrefix = "openim-share"
|
||||
webhooksEnvPrefix = "openim-webhooks"
|
||||
logEnvPrefix = "openim-log"
|
||||
redisEnvPrefix = "openim-redis"
|
||||
mongodbEnvPrefix = "openim-mongodb"
|
||||
minioEnvPrefix = "openim-minio"
|
||||
kafkaEnvPrefix = "openim-kafka"
|
||||
zoopkeeperEnvPrefix = "openim-zookeeper"
|
||||
apiEnvPrefix = "openim-api"
|
||||
cornTaskEnvPrefix = "openim-crontask"
|
||||
msgGatewayEnvPrefix = "openim-msggateway"
|
||||
msgTransferEnvPrefix = "openim-msgtransfer"
|
||||
pushEnvPrefix = "openim-push"
|
||||
authEnvPrefix = "openim-auth"
|
||||
conversationEnvPrefix = "openim-conversation"
|
||||
friendEnvPrefix = "openim-friend"
|
||||
groupEnvPrefix = "openim-group"
|
||||
msgEnvPrefix = "openim-msg"
|
||||
thridEnvPrefix = "openim-third"
|
||||
userEnvPrefix = "openim-user"
|
||||
notificationEnvPrefix = "IMENV_NOTIFICATION"
|
||||
shareEnvPrefix = "IMENV_SHARE"
|
||||
webhooksEnvPrefix = "IMENV_WEBHOOKS"
|
||||
kafkaEnvPrefix = "IMENV_KAFKA"
|
||||
redisEnvPrefix = "IMENV_REDIS"
|
||||
zookeeperEnvPrefix = "IMENV_ZOOKEEPER"
|
||||
mongodbEnvPrefix = "IMENV_MONGODB"
|
||||
minioEnvPrefix = "IMENV_MINIO"
|
||||
logEnvPrefix = "IMENV_LOG"
|
||||
apiEnvPrefix = "IMENV_OPENIM_API"
|
||||
cronTaskEnvPrefix = "IMENV_OPENIM_CRONTASK"
|
||||
msgGatewayEnvPrefix = "IMENV_OPENIM_MSGGATEWAY"
|
||||
msgTransferEnvPrefix = "IMENV_OPENIM_MSGTRANSFER"
|
||||
pushEnvPrefix = "IMENV_OPENIM_PUSH"
|
||||
authEnvPrefix = "IMENV_OPENIM_RPC_AUTH"
|
||||
conversationEnvPrefix = "IMENV_OPENIM_RPC_CONVERSATION"
|
||||
friendEnvPrefix = "IMENV_OPENIM_RPC_FRIEND"
|
||||
groupEnvPrefix = "IMENV_OPENIM_RPC_GROUP"
|
||||
msgEnvPrefix = "IMENV_OPENIM_RPC_MSG"
|
||||
thirdEnvPrefix = "IMENV_OPENIM_RPC_THIRD"
|
||||
userEnvPrefix = "IMENV_OPENIM_RPC_USER"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user