Documentation ¶
Index ¶
- func ReportError(err error, msg string)
- type REDIS
- func (*REDIS) Del(client *redis.Client, key string)
- func (*REDIS) Do(client *redis.Client, cmd string, key string) string
- func (*REDIS) Expire(client *redis.Client, key string, expiration time.Duration)
- func (*REDIS) Expirec(client *redis.ClusterClient, key string, expiration time.Duration)
- func (*REDIS) Get(client *redis.Client, key string) string
- func (*REDIS) NewClient(addr string, password string, bd int) *redis.Client
- func (*REDIS) NewClient2(addrs []string) *redis.ClusterClient
- func (*REDIS) Sayhi(value string) string
- func (*REDIS) Set(client *redis.Client, key string, value interface{}, expiration time.Duration)
- func (*REDIS) Set2(client *redis.Client, key string, a []string, b []string)
- func (*REDIS) Set2c(client *redis.ClusterClient, key string, a []string, b []string)
- func (*REDIS) Set3(client *redis.Client, key string, values interface{})
- func (*REDIS) Set3c(client *redis.ClusterClient, key string, values interface{})
- func (*REDIS) Setc(client *redis.ClusterClient, key string, value interface{}, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportError ¶
ReportError is a handy function to show errors
Types ¶
type REDIS ¶
type REDIS struct{}
REDIS is the k6 Redis extension.
func (*REDIS) NewClient2 ¶
func (*REDIS) NewClient2(addrs []string) *redis.ClusterClient
Click to show internal directories.
Click to hide internal directories.