examples/

directory
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 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 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

Jump to

Keyboard shortcuts

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