-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from iwannay/dev
增加配置文件注释
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
[base] | ||
; 数据文件保存地址 | ||
data_file = ./.data/data.json | ||
debug = true | ||
; 开启后每条日志会自动添加时间、节点 | ||
debugScript = true | ||
|
||
|
||
[server] | ||
; pprof 监听地址 | ||
pprof_addr = :20002 | ||
|
||
[rpc] | ||
; 本机rpc监听地址 | ||
listen= :20001 | ||
; 推送给server的地址,如果有端口转发可在这里配置 | ||
local_addr = localhost:20001 | ||
; server 地址 | ||
server_addr =localhost:20003 | ||
|
||
[mail] | ||
; 默认报警邮件接受人 | ||
to = [email protected] | ||
|
||
[log] | ||
; 日志目录 | ||
dir = logs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters