mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-29 18:04:17 +02:00
13 lines
257 B
Go
13 lines
257 B
Go
// Package cache provides a registry cache
|
|
package cache
|
|
|
|
import (
|
|
"go-micro.dev/v4/registry"
|
|
"go-micro.dev/v4/registry/cache"
|
|
)
|
|
|
|
// New returns a new cache
|
|
func New(r registry.Registry, opts ...cache.Option) cache.Cache {
|
|
return cache.New(r, opts...)
|
|
}
|