Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface {
Get(ctx context.Context, name string) (string, error)
Set(ctx context.Context, name string, value string) (bool, error)
SetNX(ctx context.Context, name string, value string, expiry time.Duration) (bool, error)
Eval(ctx context.Context, script *Script, keysAndArgs ...interface{}) (interface{}, error)
PTTL(ctx context.Context, name string) (time.Duration, error)
Close() error
}
Click to show internal directories.
Click to hide internal directories.