redis

package
v0.0.0-...-deb6259 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(key string) error

func Get

func Get(key string) (string, error)

func GetTTL

func GetTTL(key string) (time.Duration, error)

func Set

func Set(key string, value string, ttl time.Duration) error

func SetStruct

func SetStruct(key string, obj interface{}, ttl time.Duration) error

func SetStructWithLongTTL

func SetStructWithLongTTL(key string, obj interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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