Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(pool *redis.Pool) *Repository
func (Repository) CacheResponse ¶
func (r Repository) CacheResponse(_ context.Context, response schema.CachedResponse) error
func (Repository) GetCachedResponse ¶
func (r Repository) GetCachedResponse(_ context.Context, key string) (schema.CachedResponse, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.