2020-08-10 00:11:57 +03:00
|
|
|
// Package noop is a noop resolver
|
|
|
|
package noop
|
|
|
|
|
|
|
|
import (
|
2020-08-19 17:47:17 +03:00
|
|
|
"github.com/unistack-org/micro/v3/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
|
|
|
|
}
|