MCPcopy Create free account
hub / github.com/dan-v/lambda-nat-proxy / GetDefaultConfigPath

Function GetDefaultConfigPath

internal/config/loader.go:144–146  ·  view source on GitHub ↗

GetDefaultConfigPath returns the default path for creating a new config file

()

Source from the content-addressed store, hash-verified

142
143// GetDefaultConfigPath returns the default path for creating a new config file
144func 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
149func GetConfigSource(v *viper.Viper, key string) string {

Callers 1

runConfigInitFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected