client

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: GPL-3.0 Imports: 9 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 {
	// contains filtered or unexported fields
}

Client is a pipeline mode redis client

func MakeClient

func MakeClient(addr string) (*Client, error)

MakeClient creates a new client

func (*Client) Close

func (client *Client) Close()

Close stops asynchronous goroutines and close connection

func (*Client) Send

func (client *Client) Send(args [][]byte) redis.Reply

Send sends a request to redis server

func (*Client) Start

func (client *Client) Start()

Start starts asynchronous goroutines

Jump to

Keyboard shortcuts

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