Documentation
¶
Index ¶
- type UserRepo
- func (r *UserRepo) Create(ctx context.Context, u entity.User) error
- func (r *UserRepo) Delete(ctx context.Context, id uuid.UUID) error
- func (r *UserRepo) Update(ctx context.Context, u entity.User) error
- func (r *UserRepo) UpdateLastLoginAttempt(ctx context.Context, id uuid.UUID) error
- func (r *UserRepo) UpdatePassword(ctx context.Context, email string, password []byte) error
- func (r *UserRepo) UserByEmail(ctx context.Context, email string) (entity.User, error)
- func (r *UserRepo) UserByEmailIsExists(ctx context.Context, email string) (*bool, error)
- func (r *UserRepo) UserById(ctx context.Context, id uuid.UUID) (entity.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepo ¶
func NewUserRepo ¶
func (*UserRepo) UpdateLastLoginAttempt ¶
func (*UserRepo) UpdatePassword ¶
func (*UserRepo) UserByEmail ¶
func (*UserRepo) UserByEmailIsExists ¶
Click to show internal directories.
Click to hide internal directories.