Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisInterface ¶
type RedisInterface interface { Get(key string) (string, error) Set(key string, value string, TTL time.Duration) (string, error) Exists(key ...string) (int64, error) Exist(key string) (bool, error) Delete(key string) (int64, error) }
func New ¶
func New(address, password string) RedisInterface
Click to show internal directories.
Click to hide internal directories.