Documentation ¶
Index ¶
Constants ¶
View Source
const ( ENV_REDIS_SERVER = "REDIS_SERVER" GET_COMMAND = "SET" HGET_COMMAND = "HGET" HGET_ALL = "HGETALL" )
Variables ¶
This section is empty.
Functions ¶
func GetRedisServer ¶
func GetRedisServer() string
GetRedisServer reads the environment variable to return the address of redis.
func HgetString ¶
HgetString performs the hget command to return string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.