Added Options() to registry interface

This commit is contained in:
darren-west 2017-09-28 11:16:56 +01:00 committed by Vasiliy Tolstov
parent bb140f38f2
commit 9f8754df75

View File

@ -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...)
} }