Added Options() to registry interface
This commit is contained in:
parent
bb140f38f2
commit
9f8754df75
4
mdns.go
4
mdns.go
@ -316,6 +316,10 @@ func (m *mdnsRegistry) String() string {
|
|||||||
return "mdns"
|
return "mdns"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *mdnsRegistry) Options() registry.Options {
|
||||||
|
return m.opts
|
||||||
|
}
|
||||||
|
|
||||||
func NewRegistry(opts ...registry.Option) registry.Registry {
|
func NewRegistry(opts ...registry.Option) registry.Registry {
|
||||||
return newRegistry(opts...)
|
return newRegistry(opts...)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user