server.go
@@ -230,8 +230,8 @@ //s.publisher.Publish(s.nodes.ToSlice())//publish nodes changed } func (d *DiscoveryServer) AliveNodes() []string { return d.services.nodes.ToSlice() func (d *DiscoveryServer) AliveNodes() StringSet { return d.services.nodes } func (d *DiscoveryServer) PublishMsg(msg string) {