redis

package
v0.0.0-...-b8150c1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Redisconn redis.Conn

Functions

func SADD

func SADD(keyValue ...string) error

func SCARD

func SCARD(key string) (int, error)

func ToInt

func ToInt(value interface{}, err error) (int, error)

Types

type RedisConn

type RedisConn struct {
	// contains filtered or unexported fields
}

func (*RedisConn) GetString

func (conn *RedisConn) GetString(key string) (string, error)

get string

func (*RedisConn) SetExpire

func (conn *RedisConn) SetExpire(key string, time int) error

set out time

func (*RedisConn) SetString

func (conn *RedisConn) SetString(key, value string) error

set string

Jump to

Keyboard shortcuts

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