1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-24 22:26:54 +02:00
Files
go-micro/plugins/registry/mdns/mdns.go

18 lines
359 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-01-20 21:01:10 +00:00
"github.com/asim/go-micro/v3/cmd"
"github.com/asim/go-micro/v3/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...)
}