1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-05-19 21:23:04 +02:00

13 lines
281 B
Go
Raw Normal View History

2020-12-26 15:32:45 +00:00
// Package cache provides a registry cache
package cache
import (
2021-01-20 21:01:10 +00:00
"github.com/asim/go-micro/v3/registry"
"github.com/asim/go-micro/v3/registry/cache"
2020-12-26 15:32:45 +00:00
)
// New returns a new cache
func New(r registry.Registry, opts ...cache.Option) cache.Cache {
return cache.New(r, opts...)
}