Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisStorage ¶
type RedisStorage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func NewStorage(cfg *config.Redis) *RedisStorage
func (*RedisStorage) Get ¶
func (r *RedisStorage) Get(key string) (interface{}, error)
func (*RedisStorage) GetUserByEmail ¶
func (r *RedisStorage) GetUserByEmail(email string) (*User, error)
func (*RedisStorage) Store ¶
func (r *RedisStorage) Store(key string, val interface{}) error
Click to show internal directories.
Click to hide internal directories.