实现路径规则部分功能

This commit is contained in:
GoEdgeLab
2020-09-21 19:52:10 +08:00
parent 5e634e3da4
commit f41d02ac0e
28 changed files with 2767 additions and 1113 deletions

View 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"` // 子路径规则
}