1
0
mirror of https://github.com/Oxalide/vsphere-influxdb-go.git synced 2023-10-10 13:36:51 +02:00
vsphere-influxdb-go/vendor/github.com/influxdata/influxdb/stress/v2/stress_client/tracer.go
2017-10-25 20:52:40 +00:00

20 lines
334 B
Go

package stressClient
import (
"sync"
)
// The Tracer carrys tags and a waitgroup from the statements through the package life cycle
type Tracer struct {
Tags map[string]string
sync.WaitGroup
}
// NewTracer returns a Tracer with tags attached
func NewTracer(tags map[string]string) *Tracer {
return &Tracer{
Tags: tags,
}
}