diff options
author | 2019-03-03 11:56:26 -0800 | |
---|---|---|
committer | 2019-03-03 11:56:26 -0800 | |
commit | 9d39ea51a7774cfbc680a99d9deafffecc26e295 (patch) | |
tree | 1187c5220082626e187ec4f37d486f2ceaa576b0 /vendor/github.com/openzipkin/zipkin-go-opentracing/raw.go | |
parent | 39d94835ee6198d63e086e0b0c90b8ed347884b7 (diff) | |
download | coredns-9d39ea51a7774cfbc680a99d9deafffecc26e295.tar.gz coredns-9d39ea51a7774cfbc680a99d9deafffecc26e295.tar.zst coredns-9d39ea51a7774cfbc680a99d9deafffecc26e295.zip |
Add `go mod` support (#2503)
* Remove vendor and go-dep
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add go.mod
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update Makefile and .travis.yml
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'vendor/github.com/openzipkin/zipkin-go-opentracing/raw.go')
-rw-r--r-- | vendor/github.com/openzipkin/zipkin-go-opentracing/raw.go | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/vendor/github.com/openzipkin/zipkin-go-opentracing/raw.go b/vendor/github.com/openzipkin/zipkin-go-opentracing/raw.go deleted file mode 100644 index 03bc15b23..000000000 --- a/vendor/github.com/openzipkin/zipkin-go-opentracing/raw.go +++ /dev/null @@ -1,30 +0,0 @@ -package zipkintracer - -import ( - "time" - - opentracing "github.com/opentracing/opentracing-go" -) - -// RawSpan encapsulates all state associated with a (finished) Span. -type RawSpan struct { - // Those recording the RawSpan should also record the contents of its - // SpanContext. - Context SpanContext - - // The name of the "operation" this span is an instance of. (Called a "span - // name" in some implementations) - Operation string - - // We store <start, duration> rather than <start, end> so that only - // one of the timestamps has global clock uncertainty issues. - Start time.Time - Duration time.Duration - - // Essentially an extension mechanism. Can be used for many purposes, - // not to be enumerated here. - Tags opentracing.Tags - - // The span's "microlog". - Logs []opentracing.LogRecord -} |