mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-29 06:16:40 +08:00
实现路径规则部分功能
This commit is contained in:
7
pkg/serverconfigs/http_location_ref.go
Normal file
7
pkg/serverconfigs/http_location_ref.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package serverconfigs
|
||||
|
||||
type HTTPLocationRef struct {
|
||||
IsOn bool `yaml:"isOn" json:"isOn"` // 是否启用
|
||||
LocationId int64 `yaml:"locationId" json:"locationId"` // 路径ID
|
||||
Children []*HTTPLocationRef `yaml:"children" json:"children"` // 子路径规则
|
||||
}
|
||||
Reference in New Issue
Block a user