Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheRepository ¶
type CacheRepository interface { GetMRR(string) (domain.TotalMRR, error) SetMRR(string, domain.TotalMRR) (domain.TotalMRR, error) }
func NewRedisRepo ¶
func NewRedisRepo(cacheClient cache.RedisClient, ttl time.Duration) CacheRepository
type CacheRepositoryMock ¶
type CacheRepositoryMock struct{}
Click to show internal directories.
Click to hide internal directories.