repository

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

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User interface {
	Create(ctx context.Context, data *dto.CreateReq) error
	FindByFields(ctx context.Context, fields *entity.User) (*entity.User, error)
	Upsert(ctx context.Context, data *dto.UpsertReq) (*entity.User, error)
	UpdateByEmail(ctx context.Context, data *entity.User) (*entity.User, error)
	UpdateEmail(ctx context.Context, email string, newEmail string) (*entity.User, error)
	SetNullRefreshToken(ctx context.Context, refreshToken string) error
}

Jump to

Keyboard shortcuts

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