1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-12 08:23:58 +02:00
go-micro/plugins/registry/cache/cache.go
2021-01-20 21:01:10 +00:00

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...)
}