Documentation ¶
Index ¶
- type Store
- func (s *Store) Count(ctx context.Context, filter user.QueryFilter) (int, error)
- func (s *Store) Create(ctx context.Context, usr user.User) (user.User, error)
- func (s *Store) Delete(ctx context.Context, usr user.User) error
- func (s *Store) Query(ctx context.Context, filter user.QueryFilter, orderBy order.By, pageNumber int, ...) ([]user.User, error)
- func (s *Store) QueryByEmail(ctx context.Context, email mail.Address) (user.User, error)
- func (s *Store) QueryByID(ctx context.Context, userID string) (user.User, error)
- func (s *Store) QueryByIDs(ctx context.Context, userIDs []string) ([]user.User, error)
- func (s *Store) Update(ctx context.Context, usr user.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Create ¶
NOTE: add email verification in the future NOTE: add email verification in the future
func (*Store) QueryByEmail ¶
func (*Store) QueryByIDs ¶
Click to show internal directories.
Click to hide internal directories.