缓存设置中可以设置缓存主域名,用来复用多域名下的缓存

This commit is contained in:
刘祥超
2023-12-13 18:41:24 +08:00
parent 4209969214
commit 9ee5c896d1
10 changed files with 1399 additions and 916 deletions

View File

@@ -0,0 +1,14 @@
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
package serverconfigs
// HTTPCacheKeyConfig 缓存Key配置
type HTTPCacheKeyConfig struct {
IsOn bool `yaml:"isOn" json:"isOn"`
Scheme string `yaml:"scheme" json:"scheme"`
Host string `yaml:"host" json:"host"`
}
func (this *HTTPCacheKeyConfig) Init() error {
return nil
}