Comments (4)
1 因为viper有些接口没暴露,比如想输出格式化配置,还有他设置一些远程配置,需要加载etcd依赖,并且config协议不能统一。
希望的是--config=config.toml, --config=etcd:///xxx.com/, --confg=k8s:///xxx.com/ddd这样统一配置
2 这个比较复杂,而且特别小众场景
3 k8s config map就可以了。
from ego.
- 多配置源的场景还是有的,如从环境变量和配置文件读取,一些通过配置文件,一些依赖环境变量,
- 意思是从配置文件读取配置后覆盖写configmap吗?
- 多配置源还需考虑配置加载顺序
from ego.
- 多配置源的场景还是有的,如从环境变量和配置文件读取,一些通过配置文件,一些依赖环境变量,
- 意思是从配置文件读取配置后覆盖写configmap吗?
- 多配置源还需考虑配置加载顺序
明白你的意思了。这个跟viper一样吧。
from ego.
- 多配置源的场景还是有的,如从环境变量和配置文件读取,一些通过配置文件,一些依赖环境变量,
- 意思是从配置文件读取配置后覆盖写configmap吗?
- 多配置源还需考虑配置加载顺序
之前考虑过这个场景,但是后续并没有继续这么做,你要不要来改造试试。
from ego.
Related Issues (20)
- Error: undefined: Random in core/util/xcolor/string_windows.go HOT 1
- egin 支持https并且支持双向认证 HOT 3
- 有和业内众多web 框架的性能比较吗 HOT 1
- vscode 调试
- 请教一下脑图是什么软件画的 HOT 2
- 直接T群,真的没看懂
- 组件依赖 econf 加载配置,能不能传入自定义配置给组件呢? HOT 5
- go1.18.1版本存在模块兼容性问题
- ehttp client metrics use wrong label
- [doc] some links error in docs HOT 1
- apollo config promblem HOT 1
- build constraints exclude all Go files HOT 1
- 新版ego框架econf组件存在数据竞争问题 HOT 1
- [Feature]期望支持多配置文件
- 请问 ego 是否 支持 postgresql ? HOT 1
- same as / like douyu/jupiter? HOT 1
- 提升测试用例覆盖率
- ekafka组件,当kafka挂掉,再重新启动后。服务是没有办法自动连接上kafka的 HOT 3
- ego的系统日志通过配置修改时使用赋值方式,导致ego结构体中的logger没有使用到最新的配置 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ego.