Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Get(ctx context.Context, key string) (interface{}, error) MGet(ctx context.Context, keys []string) ([]interface{}, error) Set(ctx context.Context, key string, value interface{}) error MSet(ctx context.Context, keys []string, values []interface{}) error Del(ctx context.Context, keys ...string) error Eval(ctx context.Context, script string, keys []string, args []interface{}) (interface{}, error) }
Client defines a Redis client.
Click to show internal directories.
Click to hide internal directories.