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

Function MustLoadConfiguration

auth/configuration.go:197–204  ·  view source on GitHub ↗

MustLoadConfiguration same as LoadConfiguration package-level function but it panics on error.

(filename string)

Source from the content-addressed store, hash-verified

195// MustLoadConfiguration same as LoadConfiguration package-level function
196// but it panics on error.
197func MustLoadConfiguration(filename string) Configuration {
198 c, err := LoadConfiguration(filename)
199 if err != nil {
200 panic(err)
201 }
202
203 return c
204}
205
206// LoadConfiguration reads a filename (fullpath)
207// and returns a Configuration binded to the contents of the given filename.

Callers

nothing calls this directly

Calls 1

LoadConfigurationFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…