agollo icon indicating copy to clipboard operation
agollo copied to clipboard

环境的配置是通过secret区分的吗?怎么在连接Apollo的时候指定环境

Open chowyu12 opened this issue 3 years ago • 2 comments

type AppConfig struct { AppID string json:"appId" Cluster string json:"cluster" NamespaceName string json:"namespaceName" IP string json:"ip" IsBackupConfig bool default:"true" json:"isBackupConfig" BackupConfigPath string json:"backupConfigPath" Secret string json:"secret" SyncServerTimeout int json:"syncServerTimeout" notificationsMap *notificationsMap currentConnApolloConfig *CurrentApolloConfig }

chowyu12 avatar May 13 '22 09:05 chowyu12

如果是服务器不一样通过 ip,如果是配置界面中的环境不一样使用其中的 cluster name

zouyx avatar May 15 '22 10:05 zouyx

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 15 '22 00:07 stale[bot]