agollo
agollo copied to clipboard
🚀Go client for ctrip/apollo (https://github.com/apolloconfig/apollo)
**请简单描述bug的场景** properties中配置了bool、int值,客户端调用GetBoolValue、GetIntValue来取,结果总是得到默认值 **期望** 期望GetBoolValue返回对应的bool值 **截图** 如有 **Agollo 版本 :** - Version 4
**请简单描述bug的场景** **如何重现** 再现行为的步骤: 1. apollo创建yaml类型的namespace 2. 随便写点东西 4. 使用下面的代码访问并打印 5. 结果全部为空 ```yaml x: y: true myName: false ``` ```go package main 2 3 import ( "fmt" //"strings" "github.com/apolloconfig/agollo/v4" "github.com/apolloconfig/agollo/v4/env/config" "github.com/apolloconfig/agollo/v4/extension"...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.7.1 to 1.12.0. Release notes Sourced from github.com/spf13/viper's releases. v1.12.0 This release makes YAML v3 and TOML v2 the default versions used for encoding. You can switch...
fix: #239
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...
**请简单描述bug的场景** 错误使用日志函数,导致日志输出格式有误 **如何重现** 再现行为的步骤: 看代码即可 **期望** 使用Errorf **截图** **Agollo 版本 :** - Version [latest] **日志信息** **其他上下文** 如有
**请简单描述bug的场景** 我想测试灰度参加,在Apollo里面设置了灰度Label,并把Label填入AppConfig中,但这地方返回的结果,似乎不太确定,有时候读取不到灰度的值,有时候又一直返回灰度的值。 **如何重现** 再现行为的步骤: 1.跳到“…” 2.点击“…” 3.向下滚动到“…” 4.见错误 **期望** 请描述期望发生什么 **截图** 如有 **Agollo 版本 :** - Version [e.g. 22] **日志信息** **其他上下文** 如有
**功能适用的场景?** 该功能适用于函数计算只需获取一次配置的场景 **你需要的功能是否有关联问题?** 函数计算环境,只需启动的时候获取一次配置。 **你期望的解决方案是?** 我期望改造后,实现: - 客户端无需建立长连接,无需启动goroutine监听配置刷新