优化API命名

This commit is contained in:
GoEdgeLab
2021-11-24 12:01:00 +08:00
parent 2df33c07aa
commit 2c19d8405a
8 changed files with 712 additions and 552 deletions

View File

@@ -41,7 +41,8 @@ type HTTPWebConfig struct {
HostRedirects []*HTTPHostRedirectConfig `yaml:"hostRedirects" json:"hostRedirects"` // 主机跳转
Auth *HTTPAuthConfig `yaml:"auth" json:"auth"` // 认证配置
RemoteAddr *HTTPRemoteAddrConfig `yaml:"remoteAddr" json:"remoteAddr"`
RemoteAddr *HTTPRemoteAddrConfig `yaml:"remoteAddr" json:"remoteAddr"` // 客户端IP获取方式
MergeSlashes bool `yaml:"mergeSlashes" json:"mergeSlashes"` // 是否合并路径中的斜杠(/
}
func (this *HTTPWebConfig) Init() error {