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