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

Function MustGenerateConfiguration

auth/configuration.go:187–193  ·  view source on GitHub ↗

MustGenerateConfiguration calls the Configuration's BindRandom method and returns the result. It panics on errors.

()

Source from the content-addressed store, hash-verified

185// MustGenerateConfiguration calls the Configuration's BindRandom
186// method and returns the result. It panics on errors.
187func MustGenerateConfiguration() (c Configuration) {
188 if err := c.BindRandom(); err != nil {
189 panic(err)
190 }
191
192 return
193}
194
195// MustLoadConfiguration same as LoadConfiguration package-level function
196// but it panics on error.

Callers 1

BindFileMethod · 0.85

Calls 1

BindRandomMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…