Documentation
¶
Index ¶
- type Store
- func (s *Store) Create(_ context.Context, user *auth.User) error
- func (s *Store) GetByEmail(_ context.Context, email string) (*auth.User, error)
- func (s *Store) GetByID(_ context.Context, id string) (*auth.User, error)
- func (s *Store) List(_ context.Context) ([]auth.User, error)
- func (s *Store) UpdateRole(_ context.Context, id, role string) 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
}
Store is an in-memory implementation of auth.UserStore.
func (*Store) GetByEmail ¶
Click to show internal directories.
Click to hide internal directories.