package
0.3.3
Repository: https://github.com/ubuntu/authd.git
Documentation: pkg.go.dev

# Packages

Package cachetestutils export cache test functionalities used by other packages.

# Functions

New creates a new database cache by creating or opening the underlying db.
NewGroupDB creates a new GroupDB.
NewUserDB creates a new UserDB.
RemoveDb removes the database file.

# Variables

ErrNeedsClearing is returned when the database is corrupted and needs to be cleared.

# Structs

Cache is our database API.
GroupDB is the struct stored in json format in the bucket.
NoDataFoundError is returned when we didn’t find a matching entry.
UserDB is the public type that is shared to external packages.