view config/config.go @ 221:696c19abe869

Argh! If one is using its own storage for config like we do the config loaded by viper needs to be injected back into cobra [https://github.com/spf13/cobra/issues/367].
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 24 Jul 2018 18:21:31 +0200
parents 11d1a488b08f
children 0777aa6de45b
line wrap: on
line source

package config

var Config Configuration

type Configuration struct {
	DBHost    string
	DBPort    uint
	DBName    string
	DBSSLMode string

	SessionStore string

	Web     string
	WebHost string
	WebPort uint
}