Merge branch 'main' into trustedproxies

This commit is contained in:
eikendev 2022-04-24 18:14:10 +02:00
commit 69d92f52c8
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694
12 changed files with 176 additions and 28 deletions

View file

@ -33,6 +33,12 @@ type Matrix struct {
Password string `required:"true"`
}
// Alertmanager holds information on how to parse alertmanager calls
type Alertmanager struct {
AnnotationTitle string `default:"title"`
AnnotationMessage string `default:"message"`
}
// Configuration holds values that can be configured by the user.
type Configuration struct {
Debug bool `default:"false"`
@ -54,8 +60,9 @@ type Configuration struct {
Security struct {
CheckHIBP bool `default:"false"`
}
Crypto CryptoConfig
Formatting Formatting
Crypto CryptoConfig
Formatting Formatting
Alertmanager Alertmanager
}
func configFiles() []string {