Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "redis"
Name is Context Type name.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface { Close() error Do(commandName string, args ...interface{}) (reply interface{}, err error) }
Client represents interface of redis client used by venom
type RedisTestCaseContext ¶
type RedisTestCaseContext struct { venom.CommonTestCaseContext Client Client }
RedisTestCaseContext represents the context of a testcase.
func (*RedisTestCaseContext) Close ¶
func (tcc *RedisTestCaseContext) Close() error
Close the context.
func (*RedisTestCaseContext) Init ¶
func (tcc *RedisTestCaseContext) Init() error
Init Initialize the context.
Click to show internal directories.
Click to hide internal directories.