redis

package
v0.0.0-...-e0071fa Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

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

func NewRedis

func NewRedis(jconf string) (*Redis, error)

func (*Redis) IsExist

func (r *Redis) IsExist(id string) (bool, string, error)

func (*Redis) Login

func (r *Redis) Login(id, value string) error

func (*Redis) Logout

func (r *Redis) Logout(id, value string) error

type RedisConf

type RedisConf struct {
	// Redis conf
	Network    string
	Address    string
	MaxIde     int
	IdeTimeout int // Second.
}

Jump to

Keyboard shortcuts

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