redis

package
v0.0.0-...-c52fe67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisRepository

type RedisRepository struct {
	// contains filtered or unexported fields
}

func New

func New(env *env.Redis) RedisRepository

func (RedisRepository) Create

func (r RedisRepository) Create(ctx context.Context, i *entity.Session) error

func (RedisRepository) Delete

func (r RedisRepository) Delete(ctx context.Context, i *entity.Session) error

func (RedisRepository) FindByID

func (r RedisRepository) FindByID(ctx context.Context, id string) (*entity.Session, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL