Versions in this module Expand all Collapse all v0 v0.1.0 Sep 30, 2026 Changes in this version + const DisallowNullAuthtok — linux/amd64 + const ErrorMsg — linux/amd64 + const MaxMsgSize — linux/amd64 + const MaxNumMsg — linux/amd64 + const MaxRespSize — linux/amd64 + const PromptEchoOff — linux/amd64 + const PromptEchoOn — linux/amd64 + const Silent — linux/amd64 + const TextInfo — linux/amd64 + var ErrAllocation = errors.New("pam: native allocation failed") — linux/amd64 + var ErrBusy = errors.New("pam: active transactions prevent library close") — linux/amd64 + var ErrClosed = errors.New("pam: library or transaction is closed") — linux/amd64 + var ErrInvalidArgument = errors.New("pam: invalid argument") — linux/amd64 + type Conversation interface — linux/amd64 + Respond func(message Message, answer []byte) (int, error) + type Error struct — linux/amd64 + Operation string + Status Status + func (e *Error) Error() string + type Flags int32 — linux/amd64 + type Library struct — linux/amd64 + func Open() (*Library, error) + func (l *Library) Close() error + func (l *Library) Start(service, user string, conversation NativeConversation) (*Transaction, error) + func (l *Library) StartConversation(service, user string, handler Conversation) (*Transaction, error) + type Message struct — linux/amd64 + Style int32 + Text []byte + type NativeConversation struct — linux/amd64 + Data unsafe.Pointer + Function uintptr + type Status int32 — linux/amd64 + const Abort + const AcctExpired + const AuthErr + const AuthinfoUnavail + const AuthtokDisableAging + const AuthtokErr + const AuthtokExpired + const AuthtokLockBusy + const AuthtokRecoveryErr + const BadItem + const BufErr + const ConvAgain + const ConvErr + const CredErr + const CredExpired + const CredInsufficient + const CredUnavail + const Ignore + const Incomplete + const Maxtries + const ModuleUnknown + const NewAuthtokReqd + const NoModuleData + const OpenErr + const PermDenied + const ServiceErr + const SessionErr + const Success + const SymbolErr + const SystemErr + const TryAgain + const UserUnknown + type Transaction struct — linux/amd64 + func (t *Transaction) AcctMgmt(flags Flags) error + func (t *Transaction) Authenticate(flags Flags) error + func (t *Transaction) End() error