mirror of
https://github.com/pushbits/server.git
synced 2025-06-09 06:01:59 +02:00
Merge branch 'main' into trustedproxies
This commit is contained in:
commit
69d92f52c8
12 changed files with 176 additions and 28 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue