配置中心 duic-go-client 首个版本发布

栏目: 软件资讯 · 发布时间: 5年前

内容简介:配置中心 duic Go 语言 SDK。 更新内容: 加载配置中心配置数据 多配置合并 配置访问控制 配置实时更新 使用示例: duic.BaseUri = "https://duic.zhudy.io/api/v1" duic.Name = "unit-test" duic.Profi...

配置中心 duic Go 语言 SDK。

更新内容:

  • 加载配置中心配置数据

  • 多配置合并

  • 配置访问控制

  • 配置实时更新

使用示例:

duic.BaseUri = "https://duic.zhudy.io/api/v1"
duic.Name = "unit-test"
duic.Profiles = "test"
duic.Init()         // 初始化获取配置中心配置数据

// 获取配置 API
duic.Bool("key")        // 获取一个 bool 配置
duic.Int("key")         // 获取一个 int 配置
duic.Float64("key")     // 获取一个 float64 配置
duic.String("key")      // 获取一个 string 配置
duic.Array("key")       // 获取一个数组配置
duic.Object("key")      // 获取一个对象配置

资源:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

A Guide to Monte Carlo Simulations in Statistical Physics

A Guide to Monte Carlo Simulations in Statistical Physics

Landau, David P./ Binder, Kurt / Cambridge Univ Pr / 2005-9 / 786.00元

This new and updated edition deals with all aspects of Monte Carlo simulation of complex physical systems encountered in condensed-matter physics, statistical mechanics, and related fields. After brie......一起来看看 《A Guide to Monte Carlo Simulations in Statistical Physics》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具