redis

package
v0.0.0-...-3e6c4c2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisClient

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

func NewRedisClient

func NewRedisClient(addr, pwd string) *RedisClient

func (*RedisClient) Get

func (r *RedisClient) Get(key string) (string, error)

func (*RedisClient) Set

func (r *RedisClient) Set(key string, value string, duration time.Duration)

Jump to

Keyboard shortcuts

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