Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conn ¶
type Conn interface {
Get(ctx context.Context, key string) (value string, err error)
Set(ctx context.Context, key, value string) (err error)
SetEx(ctx context.Context, key, value string, seconds int64) (err error)
Del(ctx context.Context, key string) (err error)
TTL(ctx context.Context, key string) (seconds int64, err error)
}
Click to show internal directories.
Click to hide internal directories.