Documentation ¶ Index ¶ Variables func New(modName, instName string, _, inlineArgs []string) (module.Module, error) type Auth func (a *Auth) AuthPlain(username, password string) error func (a *Auth) Init(cfg *config.Map) error func (a *Auth) InstanceName() string func (a *Auth) Name() string Constants ¶ This section is empty. Variables ¶ View Source var ErrInvalidCredentials = errors.New("pam: invalid credentials or unknown user") Functions ¶ func New ¶ func New(modName, instName string, _, inlineArgs []string) (module.Module, error) Types ¶ type Auth ¶ type Auth struct { Log log.Logger // contains filtered or unexported fields } func (*Auth) AuthPlain ¶ added in v0.2.0 func (a *Auth) AuthPlain(username, password string) error func (*Auth) Init ¶ func (a *Auth) Init(cfg *config.Map) error func (*Auth) InstanceName ¶ func (a *Auth) InstanceName() string func (*Auth) Name ¶ func (a *Auth) Name() string Source Files ¶ View all Source files module.go pam_stub.go Click to show internal directories. Click to hide internal directories.