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

Function MessageCheck

framework/config/module/interfaces.go:26–32  ·  view source on GitHub ↗
(globals map[string]interface{}, args []string, block config.Node)

Source from the content-addressed store, hash-verified

24)
25
26func MessageCheck(globals map[string]interface{}, args []string, block config.Node) (module.Check, error) {
27 var check module.Check
28 if err := ModuleFromNode("check", args, block, globals, &check); err != nil {
29 return nil, err
30 }
31 return check, nil
32}
33
34// DeliveryDirective is a callback for use in config.Map.Custom.
35//

Callers

nothing calls this directly

Calls 1

ModuleFromNodeFunction · 0.85

Tested by

no test coverage detected