redis

package
v0.0.0-...-32823bc Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisStruct

type RedisStruct struct {
	// contains filtered or unexported fields
}
var Redis *RedisStruct

func Init

func Init() *RedisStruct

func (*RedisStruct) Connect

func (r *RedisStruct) Connect() error

func (*RedisStruct) Del

func (r *RedisStruct) Del(key string)

func (*RedisStruct) Get

func (r *RedisStruct) Get(key string) string

func (*RedisStruct) Set

func (r *RedisStruct) Set(key string, value string) error

func (*RedisStruct) SetTimed

func (r *RedisStruct) SetTimed(key string, value string, duration time.Duration) error

Jump to

Keyboard shortcuts

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