// Defaults generates a set of default configuration options
Defaults generates a set of default configuration options
// Defaults generates a set of default configuration options
func Defaults() {
	viper.SetDefault("listen", map[string]interface{}{
		"bind":		"0.0.0.0",
		"port":  9300,
		"limit": "10mb",
	})
	viper.SetDefault("log", map[string]interface{}{
		"level": log.InfoLevel,
		"json":     	true,
		"requests": 	true,
	})
	viper.SetDefault("correlation", map[string]interface{}{
		"enable": true,
		"header": "X-Request-Identifier",
	})
	viper.SetDefault("local", map[string]interface{}{
		"algorithm": "SHA256",
		"skew":      1000,
	})
	viper.SetDefault("local.db", map[string]interface{}{
		"path":  "http://localhost:9100/v1/properties",
		"signal": "SIGHUP",
		"propsd": true,
		"prefix": "",
	})
	viper.SetDefault("service", map[string]interface{}{
		"port":     9301,
		"hostname": "127.0.0.1",
		"limit":    "10mb",
		"protocol": "http://",
	})
	viper.SetDefault("metrics", map[string]interface{}{
		"enabled": true,
	})
	viper.SetDefault("metrics.client", map[string]interface{}{
		"host":   "localhost",
		"port":   8125,
		"prefix": "turnstile.",
	})
}
func Defaults ( ) { viper . SetDefault ( " " , map [ string ] interface { } { " " : " " , " " : 9300 , " " : " " , } ) viper . SetDefault ( " " , map [ string ] interface { } { " " : log . InfoLevel , " " : true , " " : true , } ) viper . SetDefault ( " " , map [ string ] interface { } { " " : true , " " : " " , } ) viper . SetDefault ( " " , map [ string ] interface { } { " " : " " , " " : 1000 , } ) viper . SetDefault ( " " , map [ string ] interface { } { " " : " " , " " : " " , " " : true , " " : " " , } ) viper . SetDefault ( " " , map [ string ] interface { } { " " : 9301 , " " : " " , " " : " " , " " : " " , } ) viper . SetDefault ( " " , map [ string ] interface { } { " " : true , } ) viper . SetDefault ( " " , map [ string ] interface { } { " " : " " , " " : 8125 , " " : " " , } ) }
Defaults generates a set of default configuration options
Defaults generates a set of default configuration options