阶段性提交

This commit is contained in:
GoEdgeLab
2020-09-16 09:09:31 +08:00
parent aa86446f4f
commit 1648192e73
24 changed files with 2156 additions and 317 deletions
+11
View File
@@ -0,0 +1,11 @@
package serverconfigs
type HTTPWebConfig struct {
Id int64 `yaml:"id" json:"id"` // ID
IsOn bool `yaml:"isOn" json:"isOn"` // 是否启用
Locations []*LocationConfig `yaml:"locations" json:"locations"` // 路径规则 TODO
Gzip *HTTPGzipConfig `yaml:"gzip" json:"gzip"` // Gzip配置
// 本地静态资源配置
Root string `yaml:"root" json:"root"` // 资源根目录 TODO
}