Documentation
¶
Index ¶
Constants ¶
View Source
const (
RedisNoUser = 100
)
TODO: maybe we drop it
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserSession ¶
type UserSession struct {
UserId int `json:"userId"`
}
func GetUserSession ¶
func GetUserSession(key string) (*UserSession, error)
Click to show internal directories.
Click to hide internal directories.