driver

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: BSD-2-Clause Imports: 1 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 interface {
	redis.Cmdable
	Close() error

	// 临时对外暴露这个接口,为了方便自定义命令。
	Process(cmder redis.Cmder) error
}

Client 代表一个 Redis 客户端连接池。 TODO: 暂时由于时间关系,直接暴露了 github.com/go-redis/redis 的接口,未来会改掉。

type Driver

type Driver interface {
}

Driver 代表一个 Redis 底层协议驱动,当前还未实现。

Jump to

Keyboard shortcuts

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