1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-03-03 15:22:30 +02:00

18 lines
335 B
Go
Raw Normal View History

2020-12-26 15:32:45 +00:00
// Package mdns provides a multicast dns registry
package mdns
import (
2021-10-12 12:55:53 +01:00
"go-micro.dev/v4/cmd"
"go-micro.dev/v4/registry"
2020-12-26 15:32:45 +00:00
)
func init() {
cmd.DefaultRegistries["mdns"] = NewRegistry
}
// NewRegistry returns a new mdns registry
func NewRegistry(opts ...registry.Option) registry.Registry {
return registry.NewRegistry(opts...)
}