client

package
v0.0.0-...-c3f54fb Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: Apache-2.0 Imports: 10 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 string) (*RedisClient, error)

创建redis客户端socket

func (*RedisClient) Send

func (rc *RedisClient) Send(command [][]byte) (protocol.Reply, error)

将redis命令保存到 waitSend 中

func (*RedisClient) Start

func (rc *RedisClient) Start() error

启动

func (*RedisClient) Stop

func (rc *RedisClient) Stop()

Jump to

Keyboard shortcuts

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