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