client

package
v0.0.0-...-0ea9bf3 Latest Latest
Warning

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

Go to latest
Published: Jul 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 {
	RedisAddr string `json:"redis_addr"`
	Port      string `json:"port"`
	Password  string `json:"password"`
}

func NewRedisClient

func NewRedisClient(ip string, port string, password string) *RedisClient

func (*RedisClient) Del

func (rClient *RedisClient) Del(key string, value interface{}) error

func (*RedisClient) Get

func (rClient *RedisClient) Get(key string, value interface{}) (interface{}, error)

func (*RedisClient) Set

func (rClient *RedisClient) Set(key string, value interface{}) error

Jump to

Keyboard shortcuts

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