Documentation ¶ Index ¶ func Expire(key string, expireTime int) error func Get(key string) string func Init(file string) func Set(key, value string) error func SetNX(key, value string) (string, error) func SetWithExpire(key, value string, expireTime int) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Expire ¶ func Expire(key string, expireTime int) error func Get ¶ func Get(key string) string func Init ¶ func Init(file string) func Set ¶ func Set(key, value string) error func SetNX ¶ func SetNX(key, value string) (string, error) func SetWithExpire ¶ func SetWithExpire(key, value string, expireTime int) error Types ¶ This section is empty. Source Files ¶ View all Source files init.go operation.go redis_conf.go Click to show internal directories. Click to hide internal directories.