9c1a10e309
* Add a new *dry-run* mode to exit just before running the server * This allows testing that the socket is working before starting the server https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/98
14 lines
324 B
Go
14 lines
324 B
Go
package cfg
|
|
|
|
import "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/auth"
|
|
|
|
type AppSettings struct {
|
|
VersionMode bool
|
|
DryRunMode bool
|
|
MetricsAddress string
|
|
Fail2BanSocketPath string
|
|
FileCollectorPath string
|
|
AuthProvider auth.AuthProvider
|
|
ExitOnSocketConnError bool
|
|
}
|