From 51e1076c3662f02b52c6c4733f156343cd8bc536 Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 14 Nov 2018 11:47:58 +0800 Subject: [PATCH] update readme --- README.md | 9 ++++++++- README_CN.md | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b1da76b..e9c2baf 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ * Multiple namespace support * Fail tolerant * Zero dependency +* Realtime change notification ## Required @@ -63,6 +64,12 @@ agollo.GetNameSpaceContent(namespace, defaultValue) ``` +### Get all keys + +```golang + agollo.GetAllKeys(namespace) +``` + ## License -agollo is released under MIT lecense +agollo is released under MIT license diff --git a/README_CN.md b/README_CN.md index 6a7ecf8..d9a11b7 100644 --- a/README_CN.md +++ b/README_CN.md @@ -12,6 +12,7 @@ * 多 namespace 支持 * 容错,本地缓存 * 零依赖 +* 实时更新通知 ## 依赖 @@ -59,6 +60,12 @@ agollo.GetNameSpaceContent(namespace, defaultValue) ``` +### 获取配置中所有的键 + +```golang + agollo.GetAllKeys(namespace) +``` + ## 许可 agollo 使用 MIT 许可