Documentation ¶
Index ¶
- type CacheRedis
- type UserAWSRepository
- func (r *UserAWSRepository) Fetch(ctx context.Context, criteria domain.Criteria) ([]*aggregate.UserRoot, domain.PaginationToken, error)
- func (r *UserAWSRepository) FetchOne(ctx context.Context, byUsername bool, key string) (*aggregate.UserRoot, error)
- func (r *UserAWSRepository) HardRemove(ctx context.Context, id string) error
- func (r *UserAWSRepository) Remove(ctx context.Context, id string) error
- func (r *UserAWSRepository) Restore(ctx context.Context, id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheRedis ¶
type CacheRedis struct {
// contains filtered or unexported fields
}
func NewCacheRedis ¶
func NewCacheRedis(pool *redis.Client) *CacheRedis
func (*CacheRedis) Invalidate ¶
func (c *CacheRedis) Invalidate(ctx context.Context, table, key string) error
type UserAWSRepository ¶
type UserAWSRepository struct {
// contains filtered or unexported fields
}
func NewUserAWSRepository ¶
func NewUserAWSRepository(c *cognito.CognitoIdentityProvider, k domain.KernelStore) *UserAWSRepository
func (*UserAWSRepository) Fetch ¶
func (r *UserAWSRepository) Fetch(ctx context.Context, criteria domain.Criteria) ([]*aggregate.UserRoot, domain.PaginationToken, error)
func (*UserAWSRepository) HardRemove ¶
func (r *UserAWSRepository) HardRemove(ctx context.Context, id string) error
Click to show internal directories.
Click to hide internal directories.