Skip to content

Commit

Permalink
Merge pull request #8 from philchia/feature/comment
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
philchia committed Nov 14, 2018
2 parents f3660b6 + 51e1076 commit 29e5012
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* Multiple namespace support
* Fail tolerant
* Zero dependency
* Realtime change notification

## Required

Expand Down Expand Up @@ -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
7 changes: 7 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* 多 namespace 支持
* 容错,本地缓存
* 零依赖
* 实时更新通知

## 依赖

Expand Down Expand Up @@ -59,6 +60,12 @@
agollo.GetNameSpaceContent(namespace, defaultValue)
```

### 获取配置中所有的键

```golang
agollo.GetAllKeys(namespace)
```

## 许可

agollo 使用 MIT 许可

0 comments on commit 29e5012

Please sign in to comment.