redisdao

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

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

func Del(key string) error

func Exists

func Exists(key string) (bool, error)

func Get

func Get(key string) (interface{}, error)

func GetSessionFromRedis

func GetSessionFromRedis(userSessionKey string) *proto.AccountSession

func Pexpire

func Pexpire(key string, expire int) (bool, error)

func PutSessionToRedis

func PutSessionToRedis(accSession *proto.AccountSession)

func Set

func Set(key, val string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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