package
3.0.0-pre1
Repository: https://github.com/quay/clair.git
Documentation: pkg.go.dev

# Functions

KeyFromString creates the key for a given string.
Must is a helper that wraps calls returning a Key and and error and panics if the error is non-nil.
NewKey generates a new random pagination key.

# Variables

ErrInvalidKeyString is returned when the string representing a key is malformed.
ErrInvalidToken is returned when a token fails to Unmarshal because it was invalid or expired.
FirstPageToken is used to represent the first page of content.

# Structs

Key represents the key used to cryptographically secure the token being used to keep track of pages.

# Type aliases

Token represents an opaque pagination token keeping track of a user's progress iterating through a list of results.