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