GetDefaultConfigPath returns the default path for creating a new config file
()
| 142 | |
| 143 | // GetDefaultConfigPath returns the default path for creating a new config file |
| 144 | func GetDefaultConfigPath() string { |
| 145 | return filepath.Join(xdg.ConfigHome, "lambda-nat-proxy", "lambda-nat-proxy.yaml") |
| 146 | } |
| 147 | |
| 148 | // GetConfigSource returns information about where config values came from |
| 149 | func GetConfigSource(v *viper.Viper, key string) string { |