Skip to content
Snippets Groups Projects
Commit 6ba693af authored by Patrick's avatar Patrick
Browse files

add EventPublishingServiceDiscovery constructor

parent 10371312
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,15 @@ import (
"github.com/apache/dubbo-go/registry"
)
// EventPublishingServiceDiscovery will enhance Service Discovery
// Publish some event about service discovery
type EventPublishingServiceDiscovery struct {
serviceDiscovery *registry.ServiceDiscovery
}
// NewEventPublishingServiceDiscovery is a constructor
func NewEventPublishingServiceDiscovery(serviceDiscovery *registry.ServiceDiscovery) *EventPublishingServiceDiscovery {
return &EventPublishingServiceDiscovery{serviceDiscovery: serviceDiscovery}
}
func (epsd *EventPublishingServiceDiscovery) String() string {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment