ports

package
v0.0.0-...-0de0edb Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionRedisStorage

type SessionRedisStorage interface {
	Get(ctx context.Context, tokenID common.UID) (entity.Token, error)
	Set(ctx context.Context, tokenID common.UID, token entity.Token) error
	Delete(ctx context.Context, tokenID common.UID) error
}

type UserPgStorage

type UserPgStorage interface {
	Fetch(ctx context.Context, limit, offset int64) ([]user_domain.User, error)
	GetByEmail(ctx context.Context, email common.Email) (user_domain.User, error)
	GetByID(ctx context.Context, id common.UID) (user_domain.User, error)
}

Jump to

Keyboard shortcuts

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