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

Function New

internal/auth/shadow/module.go:46–51  ·  view source on GitHub ↗
(c *container.C, modName, instName string)

Source from the content-addressed store, hash-verified

44}
45
46func New(c *container.C, modName, instName string) (module.Module, error) {
47 return &Auth{
48 instName: instName,
49 log: c.DefaultLogger.Sublogger(modName),
50 }, nil
51}
52
53func (a *Auth) Name() string {
54 return "shadow"

Callers

nothing calls this directly

Calls 1

SubloggerMethod · 0.80

Tested by

no test coverage detected