feat: add secret file

This commit is contained in:
Stavros
2025-01-26 20:47:08 +02:00
parent a243f22ac8
commit f19f40f9fc
2 changed files with 4 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ type Config struct {
Port int `validate:"number" mapstructure:"port"`
Address string `mapstructure:"address, ip4_addr"`
Secret string `validate:"required,len=32" mapstructure:"secret"`
SecretFile string `mapstructure:"secret-file"`
AppURL string `validate:"required,url" mapstructure:"app-url"`
Users string `mapstructure:"users"`
UsersFile string `mapstructure:"users-file"`