micro/network/resolver/noop/noop.go
2020-08-23 15:00:27 +01:00

14 lines
277 B
Go

// Package noop is a noop resolver
package noop
import (
"github.com/micro/go-micro/v3/network/resolver"
)
type Resolver struct{}
// Resolve returns the list of nodes
func (r *Resolver) Resolve(name string) ([]*resolver.Record, error) {
return []*resolver.Record{}, nil
}