redis

package
v0.0.0-...-6c253c0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Conn *redis.Pool

Functions

func Init

func Init() error

Types

type R

type R struct {
}

func (*R) Delete

func (r *R) Delete(key string) (bool, error)

func (*R) Exists

func (r *R) Exists(key string) bool

func (*R) Get

func (r *R) Get(key string) ([]byte, error)

func (*R) LikeDeletes

func (r *R) LikeDeletes(key string) error

func (*R) Set

func (r *R) Set(key string, data interface{}, time int) error

Jump to

Keyboard shortcuts

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