example

command
v0.0.0-...-f53fec1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

README

Run example

go build && ./example
curl http://localhost:9090/cached-page

curl http://localhost:9090/cached-encrypted-entry

curl http://localhost:9090/cached-in-memory-not-encrypted-entry

curl localhost:9090/cached-in-memory-lru-with-expiry

# see metrics
curl localhost:9090/metrics

Install/run redis and sentinel

# build and install redis-4.0.10.tar.gz
redis-run.sh
sentinel-run.sh

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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