Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RedisAdapter = &redisAdapter{}
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface {
Exists(context.Context, string) (bool, error)
Get(context.Context, string) (string, error)
Set(context.Context, string, string, time.Duration) error
Del(context.Context, string) error
SMembers(context.Context, string) ([]string, error)
SAdd(context.Context, string, ...string) error
SRem(context.Context, string, ...string) error
FlushDB(context.Context) error
}
Click to show internal directories.
Click to hide internal directories.