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

Function TableDirective

framework/config/module/interfaces.go:92–98  ·  view source on GitHub ↗
(m *config.Map, node config.Node)

Source from the content-addressed store, hash-verified

90}
91
92func TableDirective(m *config.Map, node config.Node) (interface{}, error) {
93 var tbl module.Table
94 if err := ModuleFromNode("table", node.Args, node, m.Globals, &tbl); err != nil {
95 return nil, err
96 }
97 return tbl, nil
98}

Callers

nothing calls this directly

Calls 1

ModuleFromNodeFunction · 0.85

Tested by

no test coverage detected