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 }
Click to show internal directories.
Click to hide internal directories.