15 lines
308 B
Go
15 lines
308 B
Go
// Package noop is a noop resolver
|
|
package noop
|
|
|
|
import (
|
|
"github.com/unistack-org/micro/v3/resolver"
|
|
)
|
|
|
|
// Resolver contains noop resolver
|
|
type Resolver struct{}
|
|
|
|
// Resolve returns the list of nodes
|
|
func (r *Resolver) Resolve(name string) ([]*resolver.Record, error) {
|
|
return []*resolver.Record{}, nil
|
|
}
|