Documentation
¶
Index ¶
- type UserCache
- func (c *UserCache) DeleteByID(ctx context.Context, id int) error
- func (c *UserCache) GetAll(ctx context.Context) ([]*domain.User, error)
- func (c *UserCache) GetByID(ctx context.Context, id int) (*domain.User, error)
- func (c *UserCache) Set(ctx context.Context, user *domain.User) error
- func (c *UserCache) SetAll(ctx context.Context, users []*domain.User) error
- func (c *UserCache) UpdateByID(ctx context.Context, update *domain.UserUpdate, id int) 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.