Documentation ¶
Index ¶
- func DelToken(id string)
- func GetAccountInfo(id string) string
- func GetMemberCredentials(totalColumns int) ([]string, []string, []string, bool)
- func GetUserCredentials(totalColumns int) ([]string, []string, []string, []string, bool)
- func RedisConnect() *redis.Client
- func SetAccountInfo(id, MyValue string)
- func SetMemberCredentials(value [3]string)
- func SetUserCredentials(value [4]string)
- type MyInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountInfo ¶
GetAccountInfo retrieves account information from Redis for the given ID
func GetMemberCredentials ¶
GetMemberCredentials retrieves member credentials from Redis
func GetUserCredentials ¶
GetUserCredentials retrieves user credentials from Redis
func RedisConnect ¶
RedisConnect establishes a connection to Redis and returns a Redis client
func SetAccountInfo ¶
func SetAccountInfo(id, MyValue string)
SetAccountInfo stores account information in Redis for the given ID
func SetMemberCredentials ¶
func SetMemberCredentials(value [3]string)
SetMemberCredentials stores member credentials in Redis
func SetUserCredentials ¶
func SetUserCredentials(value [4]string)
SetUserCredentials stores user credentials in Redis
Types ¶
Click to show internal directories.
Click to hide internal directories.