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
|
2024-12-09 13:06:43 +03:00
|
|
|
func (r *Resolver) Resolve(_ string) ([]*resolver.Record, error) {
|
2020-08-09 22:11:57 +01:00
|
|
|
return []*resolver.Record{}, nil
|
|
|
|
}
|