Documentation ¶
Index ¶
Constants ¶
View Source
const (
Timeout = 1
)
Constants: Timeout connect to redis
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRedis ¶
type IRedis interface { IsConnected() bool Get(key string, value interface{}) error Set(key string, value interface{}) error SetWithExpiration(key string, value interface{}, expiration time.Duration) error Remove(keys ...string) error Keys(pattern string) ([]string, error) RemovePattern(pattern string) error }
IRedis interface
Click to show internal directories.
Click to hide internal directories.