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

Function New

internal/check/spf/spf.go:65–71  ·  view source on GitHub ↗
(c *container.C, _, instName string)

Source from the content-addressed store, hash-verified

63}
64
65func New(c *container.C, _, instName string) (module.Module, error) {
66 return &Check{
67 instName: instName,
68 log: c.DefaultLogger.Sublogger(modName),
69 resolver: dns.DefaultResolver(),
70 }, nil
71}
72
73func (c *Check) Name() string {
74 return modName

Callers

nothing calls this directly

Calls 2

DefaultResolverFunction · 0.92
SubloggerMethod · 0.80

Tested by

no test coverage detected