From 9f8754df7514b801076338c3c9608468ccc287b6 Mon Sep 17 00:00:00 2001 From: darren-west Date: Thu, 28 Sep 2017 11:16:56 +0100 Subject: [PATCH] Added Options() to registry interface --- mdns.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mdns.go b/mdns.go index 47f9f8d..e06893d 100644 --- a/mdns.go +++ b/mdns.go @@ -316,6 +316,10 @@ func (m *mdnsRegistry) String() string { return "mdns" } +func (m *mdnsRegistry) Options() registry.Options { + return m.opts +} + func NewRegistry(opts ...registry.Option) registry.Registry { return newRegistry(opts...) }