func (p *Provider) Close() error {
	p.mu.Lock()
	defer p.mu.Unlock()

	for _, s := range p.cacheList {
		s.gc.Purge()
	}

	p.cacheList = make(map[string]*cacheStore)

	return nil
}
// Close purges all opened cache stores.
Close purges all opened cache stores.
// Close purges all opened cache stores .
func (p *Provider) Close() error {
	p.mu.Lock()
	defer p.mu.Unlock()
	for _, s := range p.cacheList {
		s.gc.Purge()
	}
	p.cacheList = make(map[string]*cacheStore)
	return nil
}
func ( p * Provider ) Close ( ) error { p . mu . Lock ( ) defer p . mu . Unlock ( ) for _ , s := range p . cacheList { s . gc . Purge ( ) } p . cacheList = make ( map [ string ] * cacheStore ) return nil }
Close purges all opened cache stores.
Close purges all opened cache stores .