Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface { Get(ctx context.Context, key string) (string, error) GetDel(ctx context.Context, key string) (string, error) SetEx(ctx context.Context, key string, val interface{}, expiration time.Duration) error Del(ctx context.Context, key string) error SAdd(ctx context.Context, key string, members ...string) error SMembers(ctx context.Context, key string) ([]string, error) SRem(ctx context.Context, key string, members ...string) error }
func NewOauthRedis ¶
func NewOauthRedis() Driver
func NewRedisDriver ¶
Click to show internal directories.
Click to hide internal directories.