service_redis

package
v0.0.0-...-303f5d6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRedis

func InitRedis()

func RExpire

func RExpire(key string, time int) *redis.StringCmd

func RGet

func RGet(key string) *redis.StringCmd

func RSet

func RSet(key string, value interface{}) *redis.StringCmd

Types

type RedisConfig

type RedisConfig struct {
	RdHost     string
	RdPort     string
	RdPassword string
}

Jump to

Keyboard shortcuts

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