redis

package
v0.0.0-...-5a8239b Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client *redis.Client
	// contains filtered or unexported fields
}

Client is wrapper for redis.Client

func (*Client) Close

func (c *Client) Close() error

Close redis client

func (*Client) Connect

func (c *Client) Connect(addr string, port int, password string) error

Connect to the redis server addr:port with password

func (*Client) IsConnected

func (c *Client) IsConnected() bool

IsConnected return connet state of redis client

Jump to

Keyboard shortcuts

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