userdb

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL