MCPcopy Index your code
hub / github.com/foxcpp/maddy / NewMap

Function NewMap

framework/config/map.go:68–70  ·  view source on GitHub ↗
(globals map[string]interface{}, block Node)

Source from the content-addressed store, hash-verified

66}
67
68func NewMap(globals map[string]interface{}, block Node) *Map {
69 return &Map{Globals: globals, Block: block}
70}
71
72// AllowUnknown makes config.Map skip unknown configuration directives instead
73// of failing.

Callers 15

ReadGlobalsFunction · 0.92
RegisterModulesFunction · 0.92
configureInlineModuleFunction · 0.92
readTLSBlockFunction · 0.92
TLSClientBlockFunction · 0.92
ProxyProtocolDirectiveFunction · 0.92
TestAuth_AuthPlainFunction · 0.92
testEndpointFunction · 0.92
TestFSFunction · 0.92
TestSQLFunction · 0.92
ConfigureMethod · 0.92
testReplaceAddrFunction · 0.92

Calls

no outgoing calls

Tested by 15

TestAuth_AuthPlainFunction · 0.74
testEndpointFunction · 0.74
TestFSFunction · 0.74
TestSQLFunction · 0.74
testReplaceAddrFunction · 0.74
newTestModifierFunction · 0.74
testCheckFunction · 0.74
TestMapProcessFunction · 0.68