Documentation ¶
Index ¶
- func CreateSession(conn redis.Conn, userID string) (string, error)
- func DeleteUser(conn redis.Conn, u entity.User) error
- func ExistUser(conn redis.Conn, userID string) (bool, error)
- func FindUser(conn redis.Conn, userID string) (entity.User, error)
- func UpdateUser(conn redis.Conn, u entity.User) error
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSession ¶
CreateSession creates a new session.
func DeleteUser ¶
DeleteUser deletes from Redis.
Types ¶
Click to show internal directories.
Click to hide internal directories.