redis

package
v0.0.0-...-839f9b5 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

Close closes the Redis connection.

func Connect

func Connect(addr, password string, db int) error

Connect establishes a connection to Redis.

func Delete

func Delete(key string) error

Delete deletes a key from Redis.

func Find

func Find(key string) (string, error)

Find retrieves the value associated with a key in Redis.

func Insert

func Insert(key string, value interface{}) error

Insert inserts a key-value pair into Redis.

Types

This section is empty.

Jump to

Keyboard shortcuts

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