Documentation ¶
Index ¶
Constants ¶
View Source
const MaxSystemUserID = 999
Max system users ID is 999, usually maintained by distributions Reference: https://github.com/systemd/systemd/blob/main/docs/UIDS-GIDS.md#summary
Variables ¶
View Source
var (
ErrNoEntry = errors.New("record does not exist")
)
Errors
View Source
var (
UsersCache = newUsersCache()
)
Functions ¶
This section is empty.
Types ¶
type UsersDBCache ¶
type UsersDBCache struct {
// contains filtered or unexported fields
}
func (*UsersDBCache) LookupUser ¶
func (cache *UsersDBCache) LookupUser(uid uint32) (string, error)
Click to show internal directories.
Click to hide internal directories.