mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-12 08:23:58 +02:00
18 lines
359 B
Go
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...)
|
|
}
|
|
|