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

Function parseChecksGroup

internal/msgpipeline/config.go:376–383  ·  view source on GitHub ↗
(globals map[string]interface{}, node config.Node)

Source from the content-addressed store, hash-verified

374}
375
376func parseChecksGroup(globals map[string]interface{}, node config.Node) ([]module.Check, error) {
377 var cg *CheckGroup
378 err := modconfig.GroupFromNode("checks", node.Args, node, globals, &cg)
379 if err != nil {
380 return nil, err
381 }
382 return cg.L, nil
383}
384
385func parseModifiersGroup(globals map[string]interface{}, node config.Node) (modify.Group, error) {
386 // Module object is *modify.Group, not modify.Group.

Callers 3

parseMsgPipelineRootCfgFunction · 0.85
parseMsgPipelineSrcCfgFunction · 0.85
parseMsgPipelineRcptCfgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected