2020-08-09 22:11:57 +01:00
|
|
|
// Package noop is a noop resolver
|
2023-04-11 22:20:37 +03:00
|
|
|
package noop // import "go.unistack.org/micro/v4/resolver/noop"
|
2020-08-09 22:11:57 +01:00
|
|
|
|
|
|
|
import (
|
2023-04-11 22:20:37 +03:00
|
|
|
"go.unistack.org/micro/v4/resolver"
|
2020-08-09 22:11:57 +01:00
|
|
|
)
|
|
|
|
|
2021-02-14 16:16:01 +03:00
|
|
|
// Resolver contains noop resolver
|
2020-08-09 22:11:57 +01:00
|
|
|
type Resolver struct{}
|
|
|
|
|
|
|
|
// Resolve returns the list of nodes
|
|
|
|
func (r *Resolver) Resolve(name string) ([]*resolver.Record, error) {
|
|
|
|
return []*resolver.Record{}, nil
|
|
|
|
}
|