Mercurial > gemma
view config/config.go @ 122:da279a0ce127
The "eye" icon changes into a "crossed out eye" icon
To improve user experience.
Giving people a good idea what will happen if they interact.
cf. Issue 69
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 27 Jun 2018 12:24:13 +0200 |
parents | 29e56c342c9f |
children | a98a282f00e1 |
line wrap: on
line source
package config var Config = NewConfiguration() type Configuration struct { DBHost string DBPort uint DBName string DBSSLMode string JWTSignKey []byte } func NewConfiguration() *Configuration { // TODO: Load from file. return &Configuration{ DBHost: "localhost", DBPort: 5432, DBName: "gemma", DBSSLMode: "require", JWTSignKey: []byte("very, very secret!"), } }