redis

package
v0.0.0-...-f3a6a69 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisInterface

type RedisInterface interface {
	Get(key string) (string, error)
	Set(key string, value string, TTL time.Duration) (string, error)
	Exists(key ...string) (int64, error)
	Exist(key string) (bool, error)
	Delete(key string) (int64, error)
}

func New

func New(address, password string) RedisInterface

Jump to

Keyboard shortcuts

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