Versions in this module Expand all Collapse all v1 v1.0.1 Jul 25, 2019 v1.0.0 Jul 22, 2019 Changes in this version + type MemoryCache map[string]*Node + func NewMemoryCache() MemoryCache + func (c MemoryCache) Dump() + func (c MemoryCache) GetRoots(url string) []string + func (c MemoryCache) SetDeps(parent string, deps []string) + func (c MemoryCache) UpstreamURLs(url string) ([]string, []string) + type Node struct + Children []*Node + Parents []*Node + URL string + func NewNode(url string) *Node + func (n *Node) String() string + type RedisCache struct + Client *redis.Client + Logger *log.Entry + func NewRedisCache(redisOptions *redis.Options, logger *log.Logger, ctx context.Context, ...) *RedisCache + func (c *RedisCache) Clear() + func (c *RedisCache) GetRoots(url string) []string + func (c *RedisCache) SetDeps(parent string, deps []string)