Documentation
¶
Overview ¶
Package mem provides memory storage functionality for users.
Index ¶
- type Store
- func (m *Store) Create(ctx context.Context, u user.User) error
- func (m *Store) Delete(ctx context.Context, id string) error
- func (m *Store) Query(ctx context.Context, pageNumber int, rowsPerPage int) ([]user.User, error)
- func (m *Store) QueryByEmail(ctx context.Context, email string) (user.User, error)
- func (m *Store) QueryByID(ctx context.Context, id string) (user.User, error)
- func (m *Store) Update(ctx context.Context, u user.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.