2020-08-09 22:11:57 +01:00
|
|
|
// Package noop is a noop resolver
|
2024-09-20 17:54:17 +03:00
|
|
|
package noop
|
2020-08-09 22:11:57 +01:00
|
|
|
|
|
|
|
import (
|
2021-10-02 19:55:07 +03:00
|
|
|
"go.unistack.org/micro/v3/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
|
|
|
|
}
|