/*
NewExporterFromClient creates a new exporter by reading etcd flags from the
specified configuration file.
*/
NewExporterFromClient creates a new exporter by reading etcd flags from the
specified configuration file.
/ * NewExporterFromClient creates a new exporter by reading etcd flags from the specified configuration file . * /
func NewExporterFromClient(
	ctx context.Context, kv etcd.KV, lease etcd.Lease, ttl int64) (
	*ServiceExporter, error) {
	var rv = &ServiceExporter{
		kv:    kv,
		lease: lease,
	}
	return rv, rv.initLease(ctx, ttl)
}
func NewExporterFromClient ( ctx context . Context , kv etcd . KV , lease etcd . Lease , ttl int64 ) ( * ServiceExporter , error ) { var rv = & ServiceExporter { kv : kv , lease : lease , } return rv , rv . initLease ( ctx , ttl ) }
NewExporterFromClient creates a new exporter by reading etcd flags from the
specified configuration file.
NewExporterFromClient creates a new exporter by reading etcd flags from the specified configuration file .