MCPcopy Create free account
hub / github.com/foxcpp/maddy / AllowUnknown

Method AllowUnknown

framework/config/map.go:74–76  ·  view source on GitHub ↗

AllowUnknown makes config.Map skip unknown configuration directives instead of failing.

()

Source from the content-addressed store, hash-verified

72// AllowUnknown makes config.Map skip unknown configuration directives instead
73// of failing.
74func (m *Map) AllowUnknown() {
75 m.allowUnknown = true
76}
77
78// EnumList maps a configuration directive to a []string variable.
79//

Callers 7

ReadGlobalsFunction · 0.95
TestMap_CallbackFunction · 0.95
setConfigMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestMap_CallbackFunction · 0.76