mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 12:20:27 +08:00
18 lines
534 B
Go
18 lines
534 B
Go
package serverconfigs
|
|
|
|
// HTTPCharsetConfig 字符集设置
|
|
type HTTPCharsetConfig struct {
|
|
IsPrior bool `yaml:"isPrior" json:"isPrior"` // 是否覆盖
|
|
IsOn bool `yaml:"isOn" json:"isOn"` // 是否启用
|
|
Charset string `yaml:"charset" json:"charset"` // 字符集
|
|
IsUpper bool `yaml:"isUpper" json:"isUpper"` // 是否要大写
|
|
Force bool `yaml:"force" json:"force"` // 是否强制覆盖
|
|
|
|
// TODO 支持自定义字符集
|
|
}
|
|
|
|
// Init 初始化
|
|
func (this *HTTPCharsetConfig) Init() error {
|
|
return nil
|
|
}
|