// New creates new local discovery.
New creates new local discovery.
// New creates new local discovery .
func New(namespace string, didPublisher didPublisher, client endpointClient) *Discovery {
	return &Discovery{
		namespace:      namespace,
		publisher:      didPublisher,
		endpointClient: client,
	}
}
func New ( namespace string , didPublisher didPublisher , client endpointClient ) * Discovery { return & Discovery { namespace : namespace , publisher : didPublisher , endpointClient : client , } }
New creates new local discovery.
New creates new local discovery .