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

Function New

internal/auth/external/externalauth.go:46–54  ·  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 ea := &ExternalAuth{
48 modName: modName,
49 instName: instName,
50 log: c.DefaultLogger.Sublogger(modName),
51 }
52
53 return ea, nil
54}
55
56func (ea *ExternalAuth) Name() string {
57 return ea.modName

Callers

nothing calls this directly

Calls 1

SubloggerMethod · 0.80

Tested by

no test coverage detected