Skip to content

Commit 708af7a

Browse files
committed
modify README.md
1 parent cbf32e1 commit 708af7a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# go-config
22
基于golang的配置管理
3-
### 功能
3+
## 功能
44
* 客户端,服务端采用websocket链接,避免轮询pull
55
* 支持使用git作为配置版本管理
66
* 支持git branch,tag, commitId作为获取配置条件
@@ -11,14 +11,14 @@
1111
* *计划支持 可在浏览器页面直接修改仓库文件功能
1212

1313

14-
### 支持
14+
## 支持
1515
为了适应不同的系统,项目采用gox进行交叉编译,并使用upx对可执行文件进行压缩,这些可执行文件都存放于项目bin文件夹下,根据需要选择合适的可执行文件,目前支持的系统:
1616
* MacOS 32/64
1717
* Linux 32/64
1818
* Windows 32/64
1919

20-
### 使用
21-
#### client
20+
## 使用
21+
### client
2222
```
2323
./client_{os}_{arch} configClient.yml
2424
```
@@ -45,7 +45,7 @@ app:
4545

4646
```
4747

48-
#### server
48+
### server
4949
```
5050
./server_{os}_{arch} configServer.yml
5151
```
@@ -109,7 +109,7 @@ route:
109109

110110
`关于为什么不在仓库地址中加入${label}:个人认为,label应当仅作为版本管理使用,在仓库地址中加入改变量会影响到版本控制`
111111

112-
#### 刷新配置
112+
### 刷新配置
113113
server提供了如下endpoint可以方便刷新特定范围的配置:
114114
<table>
115115
<tr>

0 commit comments

Comments
 (0)