@@ -4,12 +4,12 @@ package mdns
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/micro/go-micro/v3/registry"
|
||||
"github.com/unistack-org/micro/v3/register"
|
||||
)
|
||||
|
||||
// Domain sets the mdnsDomain
|
||||
func Domain(d string) registry.Option {
|
||||
return func(o *registry.Options) {
|
||||
func Domain(d string) register.Option {
|
||||
return func(o *register.Options) {
|
||||
if o.Context == nil {
|
||||
o.Context = context.Background()
|
||||
}
|
||||
|
Reference in New Issue
Block a user