2023-06-20 20:16:23 +00:00
|
|
|
package cfg
|
|
|
|
|
2023-06-21 10:31:33 +00:00
|
|
|
import "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/auth"
|
|
|
|
|
2023-06-20 20:16:23 +00:00
|
|
|
type AppSettings struct {
|
|
|
|
VersionMode bool
|
2023-06-22 16:09:36 +00:00
|
|
|
DryRunMode bool
|
2023-06-20 20:16:23 +00:00
|
|
|
MetricsAddress string
|
|
|
|
Fail2BanSocketPath string
|
|
|
|
FileCollectorPath string
|
2023-06-21 10:31:33 +00:00
|
|
|
AuthProvider auth.AuthProvider
|
2023-06-20 20:16:23 +00:00
|
|
|
ExitOnSocketConnError bool
|
|
|
|
}
|