阶段性提交

This commit is contained in:
GoEdgeLab
2020-08-21 12:32:16 +08:00
parent e6266b7dc3
commit 8f22f2fda1
181 changed files with 4897 additions and 218 deletions

View File

@@ -0,0 +1,15 @@
package serverconfigs
type ServerNameType = string
const (
ServerNameTypeFull = "full" // 完整的域名,包含通配符等
ServerNameTypePrefix = "prefix" // 前缀
ServerNameTypeSuffix = "suffix" // 后缀
ServerNameTypeMatch = "match" // 正则匹配
)
type ServerNameConfig struct {
Name string `yaml:"name" json:"name"` // 名称
Type string `yaml:"type" json:"type"` // 类型
}