mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-04-03 11:35:18 +08:00
优化API命名
This commit is contained in:
@@ -32,6 +32,7 @@ type HTTPWeb struct {
|
||||
Auth string `field:"auth"` // 认证策略配置
|
||||
Webp string `field:"webp"` // WebP配置
|
||||
RemoteAddr string `field:"remoteAddr"` // 客户端IP配置
|
||||
MergeSlashes uint8 `field:"mergeSlashes"` // 是否合并路径中的斜杠
|
||||
}
|
||||
|
||||
type HTTPWebOperator struct {
|
||||
@@ -65,6 +66,7 @@ type HTTPWebOperator struct {
|
||||
Auth interface{} // 认证策略配置
|
||||
Webp interface{} // WebP配置
|
||||
RemoteAddr interface{} // 客户端IP配置
|
||||
MergeSlashes interface{} // 是否合并路径中的斜杠
|
||||
}
|
||||
|
||||
func NewHTTPWebOperator() *HTTPWebOperator {
|
||||
|
||||
Reference in New Issue
Block a user