Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UsersRepository ¶
type UsersRepository interface {
InsertUser(ctx context.Context, user *model.User) error
UpdateUser(ctx context.Context, user *model.User) error
GetUserById(ctx context.Context, id string) (*model.User, error)
GetUsersByIds(ctx context.Context, ids []string) ([]*model.User, error)
UserExists(ctx context.Context, id string) (bool, error)
}
Click to show internal directories.
Click to hide internal directories.