MCPcopy Create free account
hub / github.com/kataras/iris / LoadConfiguration

Function LoadConfiguration

auth/configuration.go:209–212  ·  view source on GitHub ↗

LoadConfiguration reads a filename (fullpath) and returns a Configuration binded to the contents of the given filename. See Configuration.BindFile method too.

(filename string)

Source from the content-addressed store, hash-verified

207// and returns a Configuration binded to the contents of the given filename.
208// See Configuration.BindFile method too.
209func LoadConfiguration(filename string) (c Configuration, err error) {
210 err = c.BindFile(filename)
211 return
212}

Callers 2

mainFunction · 0.92
MustLoadConfigurationFunction · 0.85

Calls 1

BindFileMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…