Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BannedTokenRepository ¶
type MasterProfileRepository ¶
type MasterProfileRepository interface { CreateMasterProfile(ctx context.Context, masterProfile *model2.MasterProfileEntity) (*model2.MasterProfileEntity, error) UpdateMasterProfile(ctx context.Context, masterProfile *model2.MasterProfileEntity) (*model2.MasterProfileEntity, error) FindMasterProfiles( ctx context.Context, filter map[model2.MasterProfileFilter]interface{}, pagination *model2.Pagination, sort []*model2.Sort, ) ([]*model2.MasterProfileEntity, error) CountMasterProfiles( ctx context.Context, filter map[model2.MasterProfileFilter]interface{}, ) (int64, error) FindMasterProfileByUserId(ctx context.Context, id uuid.UUID) (*model2.MasterProfileEntity, error) FindEnabledMasterProfileByUsername(ctx context.Context, username string) (*model2.MasterProfileEntity, error) ExistsMasterProfileByUserId(ctx context.Context, id uuid.UUID) (bool, error) }
type UserRepository ¶
type UserRepository interface { CreateUser(ctx context.Context, user *model2.UserEntity) (*model2.UserEntity, error) UpdateUser(ctx context.Context, user *model2.UserEntity) (*model2.UserEntity, error) FindUserById(ctx context.Context, id uuid.UUID, rolePreload bool) (*model2.UserEntity, error) FindUserByUsername(ctx context.Context, username string, rolePreload bool) (*model2.UserEntity, error) FindUserByEmail(ctx context.Context, email string, rolePreload bool) (*model2.UserEntity, error) FindUserByUsernameOrEmail(ctx context.Context, login string, rolePreload bool) (*model2.UserEntity, error) ExistsUserById(ctx context.Context, id uuid.UUID) (bool, error) ExistsUserByUsername(ctx context.Context, username string) (bool, error) ExistsUserByEmail(ctx context.Context, email string) (bool, error) ExistsUserByUsernameOrEmail(ctx context.Context, username string, email string) (bool, error) DeleteExpiredUser(ctx context.Context) (*model2.UserEntity, error) }
Click to show internal directories.
Click to hide internal directories.