2020-08-09 22:11:57 +01:00
|
|
|
// Package noop is a noop resolver
|
|
|
|
package noop
|
|
|
|
|
|
|
|
import (
|
2020-08-18 21:38:29 +01:00
|
|
|
"github.com/micro/go-micro/v3/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
|
|
|
|
}
|