redis

package
v0.0.0-...-91d1150 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisHandler

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

func NewHandler

func NewHandler(client *redis.Client, duration time.Duration) *RedisHandler

NewHandler ...

func (*RedisHandler) Get

func (r *RedisHandler) Get(key string) (res []byte, err error)

Get ...

func (*RedisHandler) Set

func (r *RedisHandler) Set(key string, value interface{}) error

Set ...

Jump to

Keyboard shortcuts

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