Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigPathRemote = "/config/%s" // 全局配置 /config/<environment> ConfigKeySdk = "sdk" ConfigKeyRemoteEndpoints = ConfigKeySdk + ".%s.endpoints" // 远程配置的configKey, e,g: sdk.etcd3.endpoints )
View Source
const ( EnvKeyNamespace = "HD_NAMESPACE" EnvKeyRunEnvironment = "HD_ENV" EnvKeyGitUser = "HD_GIT_USER" EnvKeyGitPassword = "HD_GIT_PASSWORD" EnvKeyWorkDir = "HD_WORK_DIR" )
View Source
const ( MetaKeyAppId = "hd-app-id" MetaKeyClient = "hd-client" MetaKeyRelease = "hd-release" MetaKeyTsn = "hd-tsn" // tenant sn MetaKeyUsn = "hd-usn" // user sn MetaKeyRsn = "hd-rsn" // encoded role ids MetaKeyTid = "hd-tid" // decoded tenant id MetaKeyCaller = "dapr-caller-app-id" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.