examples/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MPL-2.0

README

HyperCache Examples

This directory contains examples of using the HyperCache package. Do not use these examples in production. All the code in this directory is for demonstration purposes only.

  1. Get - An example of using the HyperCache package to fetch one or more items and retrieve a single or multiple items from cache.

  2. List - A simple example of using the HyperCache package to store a list of items and retrieve the list filtering and sorting the results.

  3. Eviction - An example of using the HyperCache package to store a list of items and evict items from the cache based on several different algorithms.

  4. Stats - An example of using the HyperCache package to store a list of items and retrieve the cache stats.

  5. Clear - An example of using the HyperCache package to store a list of items and clear the cache.

  6. Service - An example of implementing HyperCacheService and register middleware.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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