1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-12 08:23:58 +02:00
go-micro/plugins/registry/mdns/mdns.go
2021-01-20 21:01:10 +00:00

18 lines
359 B
Go

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