comment & lint

This commit is contained in:
zitudu 2023-08-17 15:48:11 +08:00
parent ee9d9d1b7a
commit cee878be25
2 changed files with 21 additions and 21 deletions

View file

@ -570,11 +570,11 @@ type Configuration struct {
// Default: "for" // Default: "for"
ForwardedRFC7239 []string `json:"forwarded-rfc7239"` ForwardedRFC7239 []string `json:"forwarded-rfc7239"`
// Sets Forwarded "for" parameter node identifier, should be "ip" or a static string. // Sets Forwarded "for" parameter node identifier, should be "ip" or a static obfuscated string.
// Default: "ip" // Default: "ip"
ForwardedRFC7239For string `json:"forwarded-rfc7239-for,omitempty"` ForwardedRFC7239For string `json:"forwarded-rfc7239-for,omitempty"`
// Sets Forwarded "by" parameter node identifier, should be "ip" or a static string. // Sets Forwarded "by" parameter node identifier, should be "ip" or a static obfuscated string.
// Default: "ip" // Default: "ip"
ForwardedRFC7239By string `json:"forwarded-rfc7239-by,omitempty"` ForwardedRFC7239By string `json:"forwarded-rfc7239-by,omitempty"`