redis

package
v0.0.0-...-63c8a61 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

func Del(name string) error

func Get

func Get(key string) (string, error)

func Hdel

func Hdel(name, key string) error

func Hget

func Hget(name, key string) (string, error)

func Hgetall

func Hgetall(name string) ([]map[string]string, error)

func Hset

func Hset(name, key, value string) error

func Llen

func Llen()

func Ping

func Ping()

func Rpush

func Rpush()

func Set

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

func TTL

func TTL()

返回键值剩余时间

func Test

func Test()

Types

This section is empty.

Jump to

Keyboard shortcuts

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