Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBRepository ¶
type DBRepository interface { // User-related CreateUser(ctx context.Context, user *model.User) error IsUserExist(ctx context.Context, userIdType constant.UserIdType, userIdVal string) (isExist bool, err error) GetUserByOneOfIdentifier(ctx context.Context, val string) (user *model.User, err error) // Role-related BatchAssignRoles(ctx context.Context, userId uint64, roleIds []uint8) error // Device-related RegisterUserDevice(ctx context.Context, userDevice *model.UserDevice) error }
Click to show internal directories.
Click to hide internal directories.