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

Function New

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

Source from the content-addressed store, hash-verified

41}
42
43func New(c *container.C, modName, instName string) (module.Module, error) {
44 return &Auth{
45 instName: instName,
46 Log: c.DefaultLogger.Sublogger(modName),
47 }, nil
48}
49
50func (a *Auth) Name() string {
51 return "pam"

Callers

nothing calls this directly

Calls 1

SubloggerMethod · 0.80

Tested by

no test coverage detected