Update readme.md

This commit is contained in:
Kevin Wan
2022-06-13 19:39:59 +08:00
committed by GitHub
parent 1694a92db0
commit 3da5c5f530

View File

@@ -6,7 +6,7 @@
type RestfulConf struct { type RestfulConf struct {
Host string `json:",default=0.0.0.0"` Host string `json:",default=0.0.0.0"`
Port int Port int
LogMode string `json:",options=[file,console]" LogMode string `json:",options=[file,console]"`
Verbose bool `json:",optional"` Verbose bool `json:",optional"`
MaxConns int `json:",default=10000"` MaxConns int `json:",default=10000"`
MaxBytes int64 `json:",default=1048576"` MaxBytes int64 `json:",default=1048576"`