HTTP客户端IP获取方式增加是否自定义

This commit is contained in:
刘祥超
2021-10-22 14:40:14 +08:00
parent b040e966ca
commit 3a30a65264

View File

@@ -9,9 +9,10 @@ import (
// HTTPRemoteAddrConfig HTTP获取客户端IP地址方式 // HTTPRemoteAddrConfig HTTP获取客户端IP地址方式
type HTTPRemoteAddrConfig struct { type HTTPRemoteAddrConfig struct {
IsPrior bool `yaml:"isPrior" json:"isPrior"` IsPrior bool `yaml:"isPrior" json:"isPrior"`
IsOn bool `yaml:"isOn" json:"isOn"` IsOn bool `yaml:"isOn" json:"isOn"`
Value string `yaml:"value" json:"value"` // 值变量 Value string `yaml:"value" json:"value"` // 值变量
IsCustomized bool `yaml:"isCustomized" json:"isCustomized"` // 是否自定义
isEmpty bool isEmpty bool
} }