package
0.0.0-20221027220206-53a1486f4205
Repository: https://github.com/google/webpackager.git
Documentation: pkg.go.dev

# Packages

Package filewrite provides ResourceCache that also saves signed exchanges to files on the Store operations to the cache.

# Functions

NewBoundedInMemoryCache returns a new ResourceCache that stores Resources in memory, with an eviction policy after `size` entries.
NewOnMemoryCache creates and initializes a new ResourceCache storing Resources on memory.
NilCache returns a ResourceCache that stores and retrieves nothing.

# Interfaces

ResourceCache caches resource.Resources.