micro/resolver/noop/noop.go
Vasiliy Tolstov faf2454f0a cleanup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-09-20 17:54:17 +03:00

15 lines
300 B
Go

// Package noop is a noop resolver
package noop
import (
"go.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
}