nginx-ui/settings/auth.go
2024-07-20 10:37:19 +08:00

9 lines
263 B
Go

package settings
type Auth struct {
IPWhiteList []string `ini:",,allowshadow"`
BanThresholdMinutes int `json:"ban_threshold_minutes" binding:"min=1"`
MaxAttempts int `json:"max_attempts" binding:"min=1"`
}
var AuthSettings = Auth{}