Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RolesRepository ¶
type UsersRepository ¶
type UsersRepository interface { Save(ctx context.Context, user *entities.User) error FindById(ctx context.Context, id string) (*entities.User, error) FindByEmail(ctx context.Context, email string) (*entities.User, error) Update(ctx context.Context, user *entities.User) error Delete(ctx context.Context, id string) error AssignRoleById(ctx context.Context, id, role string) error RevokeRoleById(ctx context.Context, id, role string) error }
Click to show internal directories.
Click to hide internal directories.