mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-12 08:23:58 +02:00
13 lines
281 B
Go
13 lines
281 B
Go
// Package cache provides a registry cache
|
|
package cache
|
|
|
|
import (
|
|
"github.com/asim/go-micro/v3/registry"
|
|
"github.com/asim/go-micro/v3/registry/cache"
|
|
)
|
|
|
|
// New returns a new cache
|
|
func New(r registry.Registry, opts ...cache.Option) cache.Cache {
|
|
return cache.New(r, opts...)
|
|
}
|