1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-03-03 15:22:30 +02:00
2021-10-12 12:55:53 +01:00

18 lines
335 B
Go

// Package mdns provides a multicast dns registry
package mdns
import (
"go-micro.dev/v4/cmd"
"go-micro.dev/v4/registry"
)
func init() {
cmd.DefaultRegistries["mdns"] = NewRegistry
}
// NewRegistry returns a new mdns registry
func NewRegistry(opts ...registry.Option) registry.Registry {
return registry.NewRegistry(opts...)
}