Categorygithub.com/techxmind/config
modulepackage
0.1.5
Repository: https://github.com/techxmind/config.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Default returns default layer config.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewAsyncConfig 异步配置(qconf/consul/rds...) asyncer: 实现异步获取及设置接口的对象 asyncKey: 获取整个异步的Key(和Get方法的Key要区分) cacheTime: 配置缓存的时间,超过该缓存时间会触发重新获取异步数据.
No description provided by the author
No description provided by the author
syncMode : 是否同步模式(并发场景),默认为同步模式 非同步模式Set性能会非常高,适用于一些在非并发场景的局部变量的使用.
No description provided by the author
NewRedisAsyncer create new RedisAsyncer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

远程配置 qconf/consul/database.
No description provided by the author
No description provided by the author
No description provided by the author
JSONMarshaler.
config method proxy for auto pass layerNames parameter p := NewLayerConfigProxy(cfg, "layer1", "layer2") p.String("key") // alias to : cfg.String("key", "layer1", "layer2") .
No description provided by the author
No description provided by the author
No description provided by the author
YAMLMarshaler.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

config raw content type.
对原始配置内容进行处理,像解密加密文本等.