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

Function New

internal/storage/imapsql/imapsql.go:97–104  ·  view source on GitHub ↗
(c *container.C, modName, instName string)

Source from the content-addressed store, hash-verified

95}
96
97func New(c *container.C, modName, instName string) (module.Module, error) {
98 store := &Storage{
99 instName: instName,
100 log: c.DefaultLogger.Sublogger(modName),
101 resolver: dns.DefaultResolver(),
102 }
103 return store, nil
104}
105
106func (store *Storage) Configure(inlineArgs []string, cfg *config.Map) error {
107 if len(inlineArgs) != 0 {

Callers 1

TestStoreFunction · 0.92

Calls 2

DefaultResolverFunction · 0.92
SubloggerMethod · 0.80

Tested by 1

TestStoreFunction · 0.74