Documentation
¶
Index ¶
- type UserStore
- func (s *UserStore) Close() error
- func (s *UserStore) Create(ctx context.Context, email, passwordHash string) (*core.User, error)
- func (s *UserStore) Delete(ctx context.Context, id string) error
- func (s *UserStore) GetByEmail(ctx context.Context, email string) (*core.User, error)
- func (s *UserStore) GetByID(ctx context.Context, id string) (*core.User, error)
- func (s *UserStore) UpdateEmail(ctx context.Context, id, newEmail string) error
- func (s *UserStore) UpdatePassword(ctx context.Context, id, newPasswordHash string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserStore ¶
type UserStore struct {
// contains filtered or unexported fields
}
func NewUserStore ¶
func (*UserStore) GetByEmail ¶
func (*UserStore) UpdateEmail ¶
Click to show internal directories.
Click to hide internal directories.