package
0.0.0-20250312133425-17e2192e740d
Repository: https://github.com/web-platform-tests/wpt.fyi.git
Documentation: pkg.go.dev

# Functions

NewScreenshot creates a new Screenshot with the given labels (empty labels are omitted).
RecentScreenshotHashes gets the most recently used screenshot hash strings based on the given arguments.
RegisterRoutes adds all the screenshot route handlers.

# Constants

MaxItemsInResponse is the maximum number of hashes that will be returned when asked for recent screenshots.

# Variables

ErrInvalidHash is the error when a hash string is invalid.
ErrUnsupportedHashMethod is the error when the requested hash method is not supported.

# Structs

Screenshot is the entity stored in Datastore for a known screenshot hash and its metadata.