Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisSession ¶
type RedisSession struct {
// contains filtered or unexported fields
}
func NewRedisSession ¶
func NewRedisSession() (*RedisSession, error)
func (*RedisSession) DeleteSession ¶
func (s *RedisSession) DeleteSession(session string) error
func (*RedisSession) GenerateSession ¶
func (s *RedisSession) GenerateSession(userId string) (string, error)
func (*RedisSession) GetUserIDBySession ¶
func (s *RedisSession) GetUserIDBySession(session string) (string, error)
Click to show internal directories.
Click to hide internal directories.