func NewRegistrar(client Client, service Service, logger log.Logger) *Registrar {
	return &Registrar{
		client:  client,
		service: service,
		logger: log.With(logger,
			"service", service.Name,
			"path", service.Path,
			"data", string(service.Data),
		),
	}
}
NewRegistrar returns a ZooKeeper Registrar acting on the provided catalog
registration.
package zk
import "github.com/go-kit/kit/log"
type Registrar struct {
	client  Client
	service Service
	logger  log.Logger
}
type Service struct {
	Path string  
	Name string  
	Data []byte  
	node string  
}