examples/

directory
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0

Directories

Path Synopsis
Package main provides an example of how to connect to a Redis server using the go-cache library.
Package main provides an example of how to connect to a Redis server using the go-cache library.
Package main provides an example of how to delete a key from a Redis server using the go-cache library.
Package main provides an example of how to delete a key from a Redis server using the go-cache library.
Package main provides an example of how to check if a key exists in a Redis cache using the go-cache library.
Package main provides an example of how to check if a key exists in a Redis cache using the go-cache library.
Package main provides an example of how to get a value from a Redis cache using the go-cache library.
Package main provides an example of how to get a value from a Redis cache using the go-cache library.
Package main shows an example of how to create a lock using the go-cache library.
Package main shows an example of how to create a lock using the go-cache library.
Package main provides an example of how to use Redis pub/sub messaging using the go-cache library.
Package main provides an example of how to use Redis pub/sub messaging using the go-cache library.
Package main shows how to set a value in the cache
Package main shows how to set a value in the cache
Package main shows how to set a value in the cache with an expiration time
Package main shows how to set a value in the cache with an expiration time
Package main provides an example of how to use sorted sets as a priority queue using the go-cache library.
Package main provides an example of how to use sorted sets as a priority queue using the go-cache library.
Package main provides an example of how to use Redis streams as an append-only log using the go-cache library.
Package main provides an example of how to use Redis streams as an append-only log using the go-cache library.

Jump to

Keyboard shortcuts

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